matlab二维绘图
2017-11-15 20:47
162 查看
x = 0:0.01:2*pi; y = sin(x); figure plot(x, y) title('y = sin(x)') xlabel('x') ylabel('sin(x)') xlim([0 2*pi])
x = 0:0.01:20; y1 = 200*exp(-0.05*x).*sin(x); y2 = 0.8*exp(-0.5*x).*sin(10*x); figure [AX,H1,H2] = plotyy(x,y1,x,y2,'plot'); set(get(AX(1),'Ylabel'),'String','Slow Decay') set(get(AX(2),'Ylabel'),'String','Fast Decay') xlabel('Time (\musec)') title('Multiple Decay Rates') set(H1,'LineStyle','--') set(H2,'LineStyle',':')
相关文章推荐
- Matlab 二维绘图函数(plot类)
- Matlab 二维绘图--图形与图轴控制
- [Matlab]基础教程学习笔记(五):二维底层绘图修饰
- matlab二维绘图--plot函数
- 使用MATLAB进行二维绘图
- matlab界面设计之一 二维绘图
- 介绍MATLAB 的基本绘图功能:二维平面图形
- MatLab建模学习笔记1——二维绘图
- Matlab教程2_ 绘图 _ 二维
- [初学笔记] matlab的 二维绘图 plot 和系列功能
- 【matlab】 绘图 plot 颜色 线形 二维 三维
- MATLAB二维平面绘图
- matlab二维绘图的一些总结
- Matlab风格的二维绘图函数Plot(OpenCV)
- Matlab 常用绘图指令(二维图形)
- MatLab建模学习笔记1——二维绘图
- Matlab 二维绘图函数
- matlab——二维绘图函数及部分参数
- Matlab二维曲线绘图
- Matlabe二维绘图