Dear Sir,<br><br>I would like to add data (such as percentage of total for each bar) to bar charts plotted with data such as shown in the  attached SCILAB file. The contents of the file is also reproduced below.<br><br>Kindly suggest the command I should use.<br>
<br>God bless you.<br><br>Samuel Ogbonna Enibe<br>Department  of Mechanical Engineering<br>University of Nigeria, Nsukka, Nigeria<br><br>//////////////// CONTENTS OF SCILAB file /////////////////////////<br>year = [2000    2010    2020    2030];//years for the data<br>
data = [8.18    21.54    49.68    62.56;//data for industry<br>      10.61    15.73    24.56    39.45;//data for Transport<br>      15.61    16.17    18.45    24.84;//data for Household<br>        1.72    2.3    3.13    4.28//data for services<br>
    ];<br>data2 = data';//transpose of data<br>sectors = ["Industry"    "Transport"    "Household"    "Services"];<br>bar(year,data2,"stacked");<br>xtitle("","","Energy Demand,mtoe");<br>
legend(sectors,"in_upper_left");<br>