Professional Documents
Culture Documents
Gokul Krishna Kadam TKIET, Warananagar. Department of chemical engineering TYPES OF PLOTS
LINE PLOTS
BAR PLOTS
PIE CHARTS
HISTOGRAMS
POLAR PLOTS
1.pie 2.pie3
1.hist 2.rose
c d e f
g h i
a=New figure b=open file c=save figure d=print figure e=edit plot f=zoom in g=zoom out
h=pan i=rotate 3D-for rotation of figure j=data cursor- indicates data of that perticular point k=colorbar- for changing the color of the figure l=legend-for addition of legend.
Question 2: x=[1 2 3 4 5] y=[2 5 8 12 14] z=[1 3 7 9 11] plotyy(x,y,y,z) xlabel(x) ylabel(y and z) title(x vs y and y vs z) Ans:
grid on
Question 4:
Y=[9 8 7 876 765 654 432 3 2 1] Bar(y) colormap summer grid on xlabel(x1,x2,x3) ylabel(y) title(x vs y) Ans:
Question 6: Y=[9 8 7 876 765 654 432 3 2 1] barh(y) grid on xlabel(y) ylabel(x1,x2,x3) title(x vs y) Ans:
Question 10: x=0:pi/100:2*pi y=sin(x) plot(x,y) xlabel(x=0:2\pi) ylabel(sine of x) title(plot of the sine function,Fontsize,12) grid on