正在加载图片...
第4章 Matlabl的图形功能 用绘制直方图的几种命令绘制直方图。 2:2; subplot(2, 2, 4) barh(x,r, stacked") Y=[352,4,1;54,2,3,5;34,52,1 xlabel(y): ylabel(\Sigma X') subplot(2, 2, 1) colormap(summer) bar(ⅹY,r') xlabel('x) ylabel(y) colormap( cool oI) subplot(2, 2, 2) barh(x,Y, grouped) xlabel('y) 2-10 6 ylabel(x' colormap(cool) subplot(2, 2, 3) bar(ⅹY, stacked) xlabel(,) ylabel('\Sigma y) colormap( summer 2-1012 0 10第4章 Matlab的图形功能 用绘制直方图的几种命令绘制直方图。 X=-2:2; Y=[3,5,2,4,1;5,4,2,3,5;3,4,5,2,1]; subplot(2,2,1) bar(X,Y','r') xlabel('x') ylabel('y') colormap(cool) subplot(2,2,2) barh(X,Y','grouped') xlabel('y') ylabel('x') colormap(cool) subplot(2,2,3) bar(X,Y','stacked') xlabel('x') ylabel('\Sigma y') colormap(summer) subplot(2,2,4) barh(X,Y','stacked') xlabel('y');ylabel('\Sigma x') colormap(summer)
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有