Ngày tải lên :
13/09/2012, 10:21
... subplot(2 ,1, 1) pie([5 12 15 20]) subplot(2 ,1, 2) pie([5 12 15 20],[0 0 1] ) pie([5 12 15 20],{'xuong A','xuong B','xuong C','xuong D'}) 10 L nh bar/bar3 a) Công d ng: Hàm barh hàm barh3 cho phép ... plot b) Ví d : t=linspace(0 ,10 *pi); subplot (1, 2 ,1) plot3(sin(t),cos(t),t) xlabel('sint') ylabel('cost') title('helix') subplot (1, 2,2) plot3(sin(t),cos(t),t) view( [10 ,35 ]) xlabel('sint') ylabel('cost') ... n t Set(h,’LineWidth’ ,1) LineWidth 1, 2, 3, … ð dày nét v Set(h,’MarkerSize’,9) MarkerSize 1, 2, 3, … Kích thư c ñi m t o nên h Set(h,’color’,’cyan’) Color d) Ví d : a = [1 yellow,magenta, red,green,blue,...