- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
二维绘图—matlab(二维绘图 - matlab)
二维绘图—matlab(二维绘图 - matlab)
Two dimensional drawing - MATLAB.txt iron rice bowl, the real meaning is not to eat a lifetime in a place, but a lifetime to eat everywhere. It is a piece of shit, also have met shikelang day. So you dont have to worry too much about yourself today. 2. basic XY plane drawing commands
MATLAB is not only good at matrix related numerical operations, but also suitable for a variety of scientific visual representations
(Scientific, visualization). This section describes the MATLAB basic XY plane and the XYZ space
Drawing commands, including one-dimensional curve and two-dimensional surface rendering, printing and archiving.
Plot is the basic function of drawing one-dimensional curves, but before using this function, we need to define the song first
The X and Y coordinates of each point on the line. The next example can draw a sine curve:
Close all; x=linspace (0, 2*pi, 100);% x coordinates of 100 points
Y=sin (x);% corresponds to the Y coordinate
Plot (x, y);
====================================================
Small collation: MATLAB basic drawing function
The plot:, x, and Y axes are linear scales (Linear, scale)
The loglog:, x, and Y axes are logarithmic scales (Logarithmic, scale)
The semilogx: X axis is a logarithmic scale, and the Y axis is linear
The semilogy: X axis is linear, and the Y axis is logarithmic
====================================================
To draw multiple curves, you simply put the coordinates into the plot function in turn:
Plot (x, sin (x), x, cos (x));
To change the color, add the relevant string at the back of the coordinate pair:
Plot (x, sin (x),c, x, cos (x),g);
To change the color and line pattern (Line style) at the same time, you also add a pair of coordinates to the back
Close the string:
Plot (x, sin (x),co, x, cos (x),g*);
====================================================
Small order: plot drawing function parameters
Character, color, character, line pattern
Y yellow. Point
K black o round
W White x x
您可能关注的文档
- 北京市园林绿化养护等级质量标准及技术措施和要求(Maintenance grade, quality standard and technical measures and requirements of landscaping in Beijing).doc
- 北京市宣武区2006-2007学年度第二学期第二次质量检测(Beijing Xuanwu District 2006-2007 school year second semester second quality inspection).doc
- 北京市屋顶花园绿化标准(Beijing Roof garden greening standard).doc
- 北京弘扬万家(Beijing to promote 10000).doc
- 北京所有综合市场大全(All comprehensive markets in Beijing).doc
- 北京旅游攻略2010(Beijing Travel Guide 2010).doc
- 北京翱翔少年680分飞进清华(Beijing soaring juvenile 680 points flying into Tsinghua).doc
- 北京郊区好玩地方推荐(作者自己整理)(Beijing suburb fun places recommended (the author himself finishing)).doc
- 北京部分消防应急系统灯厂家(Beijing some fire emergency system lamp manufacturers).doc
- 北大二十道国际金融题目(Beijing twenty international financial issues).doc
- 二零零七年六月三十日止六个月之中期业绩董事之辞任及委任(Resignation and appointment of interim performance directors for the six months ended June 30, 2007).doc
- 云之遥(Cloud away).doc
- 云南之旅(Journey to Yunnan).doc
- 云南县名(Yunnan County).doc
- 云南大学滇池学院(Dianchi College of Yunnan University).doc
- 二级建造师法规知识(Two level constructor knowledge).doc
- 习惯与成材(Habit and gain).doc
- 云南艺术学院学生食堂二楼餐厅服务管理目标责任人招聘书doc(Yunnan Arts University student canteen two floor restaurant service management target person responsible for recruitment doc).doc
- 云安全技术(Cloud security technology).doc
- 云南企业(Yunnan Enterprises).doc
文档评论(0)