如何在Matlab中添加轴标签和标题?
1、t = -pi:pi/100:pi;

2、y = sin(t);

3、plot(t,y)

4、axis([-pi pi -1 1])

5、xlabel('-\pi \leq {\itt} \leq \pi')

6、ylabel('sin(t)')

7、title('Graph of the sine function')

8、text(0.5,-1/3,'{\itNote the odd symmetry.}')

阅读量:130
阅读量:164
阅读量:25
阅读量:58
阅读量:170