设置坐标轴范围
axis([Xmin Xmax Ymin Ymax])
设置网格线为虚线
grid on;
set(gca,‘GridLineStyle’,’–’,‘GridColor’,‘k’,‘GridAlpha’,1);
设置坐标轴间隔
set(gca,‘XTick’,0:0.25:2);
set(gca,‘YTick’,0:250:1750);
加图例
legend(‘a’,‘b’,‘c’)
11-12
3747
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-28
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-09
3083
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-16
3247
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交