- 1、本文档共18页,可阅读全部内容。
- 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绘图大全(Matlab drawing Daquan)
Advanced drawing of Matlab drawing series
I. directory
1. comet diagram
Two-dimensional comet diagram
Three-dimensional comet diagram
2. frame animation
3. program animation
4. color map transformation
5.Voronoi diagram and triangulation
Voronoi diagram
Triangulation
6. tetrahedron
7. ribbon chart
Ribbon chart
Three dimensional flow ribbons
8. pseudo color
9. slice map
Slice map
Slice contour map
10. contour drawing
Display outline
Display apron
Waterfall effect
Shadow map with illumination mode
11. function drawing
Outline, mesh, surface, contour mesh
Contour surfaces, two-dimensional curves, polar coordinates, custom functions
12. 3D graphic control
viewpoint
Lighting effects
Color control
Two, graphical examples
1. comet diagram
Two-dimensional comet diagram
T=0:.01:2*pi;
X=cos (2*t) * (COS (T).^2);
Y=sin (2*t) * (sin (T).^2);
Comet (x, y);
Title (two-dimensional comet track map)
Hold on
Plot (x, y)
Three-dimensional comet diagram
A=12;
B=9;
T0=2*pi;%T0 is the orbital period
T=5*T0;
Dt=pi/100;
T=[0:dt:T];
F=sqrt (a^2-b^2); the distance between% earth and another focal point
Th=12.5*pi/180; percent deviation of the angle between the track and the X-Y plane
E=exp (-t/20)% orbital shrinkage
X=E.* (a*cos (T) -f);
Y=E.* (b*cos (th) *sin (T));
Z=E.* (b*sin (th) *sin (T));
Plot3 (x, y, Z,g)% draw the whole trajectory
Hold, on, sphere (20);% painted earth
Axis off
Title (satellite return earth sample)
X1=-18*T0;
X2=6*T0;
Y1=-12*T0;
Y2=12*T0;
Z1=-6*T0;
Z2=6*T0;
Axis ([x1, X2, Y1, Y2, Z1, z2])
% axis ([-15 10-1510, -10, 10])
Axis equal
Comet3 (x, y, Z, 0.02);% painted trajectories of motion
Hold off
2. frame animation
Z=peaks;
Surf (Z)% drawing mesh surface graph
Axis tight
Set (GCA,nextplot,replacechildren); axis% set cover redraw mode
Title (frame animation playback example)
For j=1:20
Surf (sin (2*pi*j/20), *Z, Z)% redraw the mesh surface graph, where the latter Z is treated as a color matrix
F (J) =getframe;% create frame
End
Movie (F,
您可能关注的文档
- 31-项目需求书(31- project requirements book).doc
- 以人为本的图书馆管理模式(Library management mode of people first).doc
- 32、预制钢筋混凝土隔墙板安装工艺标准(432-1996)(32, precast reinforced concrete partition board installation process standards (432-1996)).doc
- 33-附件1(33-, Annex 1).doc
- 34、预应力后张法张拉施工工艺标准(434-1996)(34, prestressed tensioning method of construction standards (434-1996)).doc
- 36计追(First catch).doc
- 37大象博士请助手(37 Dr. elephant asks an assistant).doc
- 37道品详细的内容及实践的方法(37 items of detailed content and practical methods).doc
- 39-附件2(39-, annex 2).doc
- 40吨热水设备太阳能热水设备太阳能热水(40 tons hot water equipment, solar hot water equipment, solar hot water).doc
文档评论(0)