• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

MATLAB——PLOT绘图-铁树银花

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

MATLAB——PLOT绘图

格式化绘图:

1.color:

b g
r c m y k w
blue green red  cyan magenta yellow black white

2.type of coordinate point

. o x * s d v ^ < > p h
point  circle x-mark plus star square diamond triangle (down) triangle (up) triangle (left) riangle (right) pentagram(五角星形) hexagram(六角星形)

3.type of line


- : -. -- (none)
solid dotted dashdot dashed(虚线) no line

4.instance

by using the instruction "polt(X, Y, S)", we can plot points and lines with the types listed above.  in "polt(X, Y, S)",X and Y are vectors, S is a string formed of elements listed above. For example, when S = \'o--\', it means that the symble for points is circle, and the line format is dashed

conduct the instructions:

>> x = [1:1:10];
>> y = [2:1:11];
>> plot(x, y, \'o--\')

we can get figure below:




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
教程-delphi的开源json库:superobject,用法简介发布时间:2022-07-18
下一篇:
Matlab中使用Javaapi画图图形并保存为jpeg格式发布时间:2022-07-18
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap