1.直方图画法
bar(垂直图)
barh(水平图)
stacked(嵌入)
grouped(族群)
eg.
x=1:4;
Y=[0.5465 0.6781 0.6573 0.6375;0.9795 0.9791 0.9811 0.9776];
barh(x',Y','grouped');
2.改变matlab坐标轴刻度
set(gca,'XTick',0:0.2:1)
改变后图像为
最后加入x,y轴的标签
1.直方图画法
bar(垂直图)
barh(水平图)
stacked(嵌入)
grouped(族群)
eg.
x=1:4;
Y=[0.5465 0.6781 0.6573 0.6375;0.9795 0.9791 0.9811 0.9776];
barh(x',Y','grouped');
2.改变matlab坐标轴刻度
set(gca,'XTick',0:0.2:1)
改变后图像为
最后加入x,y轴的标签