god-of-death

plot画的图形在上一个plot的figure中:hold on

 

添加图例:legend({\'X\',\'Y\'})

 

限制X轴Y轴的坐标范围:xlim([380 780]);ylim([0 2]) 或 axis([0,0.8,0,0.9])

 

设置栅格:

法一:

1、grid on

2、Edit - Axes Properties - Ticks - step by XXX

 法二:

 自己画栅格

 

分类:

技术点:

相关文章: