createBar

PURPOSE ^

Create bar of production template

SYNOPSIS ^

function createBar(data, xLabel, yLabel, Title)

DESCRIPTION ^

 Create bar of production template

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 
0002 % Create bar of production template
0003 function createBar(data, xLabel, yLabel, Title)
0004  
0005 figure1 = figure;
0006  
0007 % Create axes
0008 axes1 = axes(...
0009   'CameraUpVector',[0 1 0],...
0010   'FontName','Times New Roman',...
0011   'FontSize',13,...
0012   'FontWeight','demi',...
0013   'Parent',figure1);
0014 box('on');
0015 hold('all');
0016  
0017 % Create bar
0018 bar1 = bar(data,...
0019   'BarLayout','stacked',...
0020   'LineWidth',1);
0021  
0022 % Create xlabel
0023 xlabel(xLabel,...
0024   'FontName','Times New Roman',...
0025   'FontSize',13,...
0026   'FontWeight','bold');
0027  
0028 % Create ylabel
0029 ylabel(yLabel,...
0030   'FontName','Times New Roman',...
0031   'FontSize',13,...
0032   'FontWeight','bold');
0033 
0034 title(Title,...
0035   'FontName','Times New Roman',...
0036   'FontSize',14,...
0037   'FontWeight','bold');
0038

Generated on Wed 08-Jul-2009 18:57:55 by m2html © 2003