- 1、本文档共79页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Matlab各种图表绘图演示.pdf
Matlab 各种类型图表演示 (2014)
说明
强大的绘图功能是 Matlab 的特点之一,Matlab 提供了十分丰富的的绘图函数,用户不需
要过多的考虑绘图的细节,只需要给出一些基本参数就能得到所需图形。尤其是 Matlab
2014a/2014b 采用了全新的绘图系统, 图表颜色配置,输出图片质量大大提高. 这里收集了
一些Matlab 绘图演示实例,从简单的plot 到复杂的动画都有.
大部分例子来自 Mathworks 官网, 版权归 Mathworks 公司. 本人也将逐步加入自己编的绘
图例子, 欢迎持续关注,交流 [QQ: 2953212138]
目录
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])
%
文档评论(0)