没有合适的资源?快使用搜索试试~ 我知道了~
首页Matlab各种图表绘图演示.pdf
Matlab各种图表绘图演示.pdf
需积分: 44 20 下载量 91 浏览量
更新于2023-03-03
评论 3
收藏 2.07MB PDF 举报
强大的绘图功能是 Matlab 的特点之一,Matlab 提供了十分丰富的的绘图函数,用户不需要过多的考虑绘图的细节,只需要给出一些基本参数就能得到所需图形。尤其是 Matlab 2014a/2014b 采用了全新的绘图系统,图表颜色配置,输出图片质量大大提高. 这里收集了一些 Matlab 绘图演示实例,从简单的 plot 到复杂的动画都有.
资源详情
资源评论
资源推荐
Matlab 各种类型图表演示 (2014)
说明
强大的绘图功能是 Matlab 的特点之一,Matlab 提供了十分丰富的的绘图函数,用户不需
要过多的考虑绘图的细节,只需要给出一些基本参数就能得到所需图形。尤其是 Matlab
2014a/2014b 采用了全新的绘图系统,图表颜色配置,输出图片质量大大提高. 这里收集了一
些 Matlab 绘图演示实例,从简单的 plot 到复杂的动画都有.
目录
Matlab 各种类型图表演示 (2014) .......................................................................................... 1
说明 ..................................................................... 1
基本绘图 ................................................................. 4
plot (1) .................................................................................................................................... 4
plot (2) .................................................................................................................................... 5
plot (3) .................................................................................................................................... 6
ezplot 1 ................................................................................................................................... 7
ezplot 2 ................................................................................................................................... 8
plot3 ....................................................................................................................................... 9
ezplot3 ..................................................................................................................................10
loglog ................................................................ 11
Semilogx ...............................................................................................................................12
Semilogy ...............................................................................................................................13
Vertical Bar ...........................................................................................................................14
bar .........................................................................................................................................15
bar3.......................................................................................................................................17
hist ........................................................................................................................................18
pie (1) ....................................................................................................................................19
pie (2) ....................................................................................................................................21
pie3 .......................................................................................................................................22
Area ......................................................................................................................................23
contour .................................................................................................................................24
ezcontourf ............................................................................................................................25
polar ......................................................................................................................................26
ezpolar ..................................................................................................................................27
rose .......................................................................................................................................28
scatter ...................................................................................................................................29
scatter3 .................................................................................................................................30
stem ......................................................................................................................................31
stair .......................................................................................................................................33
gplot ......................................................................................................................................34
fill ..........................................................................................................................................35
errorbar ................................................................................................................................36
plotyy ....................................................................................................................................37
subplot ..................................................................................................................................39
subplot ..................................................................................................................................40
image (1) ...............................................................................................................................42
image (2) ...............................................................................................................................43
image (3) ...............................................................................................................................44
quiver ....................................................................................................................................45
quiver3 ..................................................................................................................................46
ribbon ...................................................................................................................................47
surf (1) ..................................................................................................................................48
surf (2) ..................................................................................................................................49
ezsurf ....................................................................................................................................50
mesh .....................................................................................................................................51
ezmesh ..................................................................................................................................52
surfc ......................................................................................................................................53
triplot ....................................................................................................................................54
定制绘图风格 ............................................................ 55
Standard Line Colors .............................................................................................................55
Standard Line Styles .............................................................................................................56
Standard Plot Markers ..........................................................................................................57
colorbar (1) ...........................................................................................................................58
colorbar (2) ...........................................................................................................................59
Adding Lines to Plots ............................................................................................................60
Adding Text to Plots (1) ........................................................................................................61
Adding Text to Plots (2) ........................................................................................................62
Adding Latex to Plots ............................................................................................................63
shading .................................................................................................................................64
light, lighting .........................................................................................................................65
Change Lighting to Phong .....................................................................................................66
高级绘图 ................................................................ 68
Area Bar Pie Charts with Annotations ..................................................................................68
Colormap Chart ....................................................................................................................70
Curve with Lower and Upper Bounds ...................................................................................71
Plot in Plot ............................................................................................................................72
Publication Quality Graphics ................................................................................................73
Streamline ............................................................................................................................75
Two Waves ...........................................................................................................................76
win ........................................................................................................................................77
Animation .............................................................................................................................78
基本绘图
plot (1)
% Define values for x, y1, and y2
x = 0: .1 : 2*pi;
y1 = cos(x);
y2 = sin(x);
% Plot y1 vs. x (blue, solid) and y2 vs. x (red, dashed)
figure
plot(x, y1, 'b', x, y2, 'r-.', 'LineWidth', 2)
% Turn on the grid
grid on
% Set the axis limits
axis([0 2*pi -1.5 1.5])
% Add title and axis labels
title('Trigonometric Functions')
xlabel('angle')
ylabel('sin(x) and cos(x)')
plot (2)
% Load data for the stock indices
load IndexData dates values series
% Plot the stock index values versus time
figure
plot(dates, values)
% Use dateticks for the x axis
datetick('x')
% Add title and axis labels
xlabel('Date')
ylabel('Index Value')
title('Relative Daily Index Closings')
% Add a legend in the top, left corner
legend(series, 'Location', 'NorthWest')
剩余78页未读,继续阅读
划水小哥
- 粉丝: 2
- 资源: 47
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
- MW全能培训汽轮机调节保安系统PPT教学课件.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0