欢迎来到虫虫下载站 | 资源下载 资源专辑 关于我们
虫虫下载站

examp2_18.m

基于MATLAB_Simulink的系统仿真技术与应用大家可以学习下
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 + -