目录
1、柱状图
2、设置照明方式
h0=figure('toolbar','none',...'position',[200 50 450 450],...'name','实例');subplot(2,1,1)x=[5 2 18 7 39 8 65 5 54 3 2];bar(x)xlabel('X轴');ylabel('Y轴');title('第一子图');subplot(2,1,2)y=[5 2 18 7 39 8 65 5 54 3 2];barh(y)xlabel('X轴');ylabel('Y轴');title('第二子图');
下一篇:JS数据类型专项