如何在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.}')

阅读量:22
阅读量:48
阅读量:160
阅读量:190
阅读量:86