这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界» 论坛首页» 嵌入式开发» MCU» matlab中轴的标签与标题

共1条 1/1 1 跳转至

matlab中轴的标签与标题

院士
2011-03-03 11:05:10 打赏

Getting Started

轴的标签与标题


用xlabel, ylabel, 及zlabel 命令添加x-,y-,z-等标签。用title 命令在图象顶部加标题,用text 函数在图象中任何部位添加文本。TeX标记的子集则产生希腊字母。可以交互地设置这些选项。详见图形的编辑。

t = -pi:pi/100:pi;
y = sin(t);
plot(t,y)
axis([-pi pi -1 1])
xlabel('-\pi \leq {\itt} \leq \pi')
ylabel('sin(t)')
title('Graph of the sine function')
text(1,-1/3,'{\itNote the odd symmetry.}')




关键词: matlab 中轴 标签 标题

共1条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册]