⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 examp2_18.m

📁 matlab的大量实例代码
💻 M
字号:
t=0:.1:2*pi; y=sin(t); plot(t,y)

t=0:.1:2*pi; y=[sin(t); cos(t)]; plot(t,y)

t=0:.1:2*pi; plotyy(t,sin(t),t,0.01*cos(t))

plot(t,sin(t),t,cos(t))

t=0:.1:2*pi; y1=sin(t); y2=cos(t); y3=sin(t).*cos(t);
plot(t,y1,'-',t,y2,':',t,y3,'x')

grid,                         % 给图形加网格
xlabel('This is my X axis'),  % 给 x 轴加标题
ylabel('My Y axis'),          % 给 y 轴加标题
title('My Own Plot')          % 给图形加标题

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -