下面是一段matlab程序,画曲线用的。 但不知道最后一句里的”--rs“是什么意思。请教一下大家了!

下面是一段matlab程序,画曲线用的。 但不知道最后一句里的”--rs“是什么意思。请教一下大家了!,第1张

传递给plot的一个曲线绘制参数
matlab help里有解释我使用时一般都默认
色彩字符颜色线型字符线型格式标记符号数据点形式标记符号数据点形式
y 黄- 实线 点< 小于号
m 紫: 点线o 圆s 正方形
c 青- 点划线x 叉号d 菱形
r 红- - 虚线+ 加号h 六角星
g 绿 星号p 五角星
b 蓝v 向下三角形
w 白^ 向上三角形
k 黑> 大于号
>>help plot:
PLOT Linear plot
PLOT(X,Y) plots vector Y versus vector X If X or Y is a matrix,
then the vector is plotted versus the rows or columns of the matrix,
whichever line up If X is a scalar and Y is a vector, disconnected
line objects are created and plotted as discrete points vertically at
X

PLOT(Y) plots the columns of Y versus their index
If Y is complex, PLOT(Y) is equivalent to PLOT(real(Y),imag(Y))
In all other uses of PLOT, the imaginary part is ignored

Various line types, plot symbols and colors may be obtained with
PLOT(X,Y,S) where S is a character string made from one element
from any or all the following 3 columns:

b blue point - solid
g green o circle : dotted
r red x x-mark - dashdot
c cyan + plus -- dashed
m magenta star (none) no line
y yellow s square
k black d diamond
w white v triangle (down)
^ triangle (up)
< triangle (left)
> triangle (right)
p pentagram
h hexagram

For example, PLOT(X,Y,'c+:') plots a cyan dotted line with a plus
at each data point; PLOT(X,Y,'bd') plots blue diamond at each data
point but does not draw any line

PLOT(X1,Y1,S1,X2,Y2,S2,X3,Y3,S3,) combines the plots defined by
the (X,Y,S) triples, where the X's and Y's are vectors or matrices
and the S's are strings

For example, PLOT(X,Y,'y-',X,Y,'go') plots the data twice, with a
solid yellow line interpolating green circles at the data points

The PLOT command, if no color is specified, makes automatic use of
the colors specified by the axes ColorOrder property By default,
PLOT cycles through the colors in the ColorOrder property For
monochrome systems, PLOT cycles over the axes LineStyleOrder property

Note that RGB colors in the ColorOrder property may differ from
similarly-named colors in the (X,Y,S) triples For example, the
second axes ColorOrder property is medium green with RGB [0 5 0],
while PLOT(X,Y,'g') plots a green line with RGB [0 1 0]

If you do not specify a marker type, PLOT uses no marker
If you do not specify a line style, PLOT uses a solid line

PLOT(AX,) plots into the axes with handle AX

PLOT returns a column vector of handles to lineseries objects, one
handle per plotted line

The X,Y pairs, or X,Y,S triples, can be followed by
parameter/value pairs to specify additional properties
of the lines For example, PLOT(X,Y,'LineWidth',2,'Color',[6 0 0])
will create a plot with a dark red line width of 2 points

Example
x = -pi:pi/10:pi;
y = tan(sin(x)) - sin(tan(x));
plot(x,y,'--rs','LineWidth',2,
'MarkerEdgeColor','k',
'MarkerFaceColor','g',
'MarkerSize',10)

欢迎分享,转载请注明来源:品搜搜测评网

原文地址:https://pinsoso.cn/meirong/3806494.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2024-03-23
下一篇2024-03-23

随机推荐

  • 妮维雅小蓝罐好用吗 妮维雅小蓝罐的4种用法

    妮维雅小蓝罐是一款非常经典的面霜,久经不衰,这款面霜非常的平价,50元不到,好大一罐,可以用很久,而且这个面霜的用法很多,可以护手,可以当身体乳还可以当宝宝霜。妮维雅小蓝罐好用吗妮维雅的这款面霜应该是平价面霜届的网红了。红也红了很多

    2024-04-15
    65200
  • 尼兰西私护真的好用吗

    真的。尼兰西私护套盒是排毒,保养,调理三效合一为一体的私密护理套,打破了传统的单一性,纯植物提取,结合中华5千年药典文化,由珍贵的19种中药泡制,历经108道工序熬制而成,由阳光保险承保,世界花样游泳冠军首推,放心安心的人产品,尼兰西闺蜜私

    2024-04-15
    62300
  • 伊诺万斯变频器产地

    您是想问伊诺万斯变频器产地是哪里吗?伊诺万斯变频器产地是深圳。伊诺万斯变频器由深圳市伊诺万斯科技有限公司生产,所以产地在深圳。伊诺万斯科技有限公司是著名的变频器生产品牌,具有良好的品牌形象、高效的生产技术和先进的硬件设施,十分注重产品的质量

    2024-04-15
    44000
  • 后的套盒哪个系列最好?

    韩国国宝后系列中哪款闭眼不踩雷,那么小编告诉大家WHOO后系列中最好用的当然是天气丹啦。WHOO天气丹系列韩国国宝护肤WHOO后中好用的系列都有拱辰享基础系列、津率享营养系列、天气丹系列、雪美白系列,天气丹系列它的特点就是,改善肤质,综合护

    2024-04-15
    49300
  • 黑松露是什么 了解黑松露的来源、品种和价值?

    黑松露的品种主要分为两类,分别是冬季黑松露和夏季黑松露。冬季黑松露通常在12月至3月之间收获,味道更为浓郁,价格也更为昂贵。夏季黑松露则在5月至8月之间收获,味道相对较淡,价格也相对便宜一些。黑松露是一种珍贵的地下真菌,也是世界上最昂贵的食

    2024-04-15
    41300
  • 伊贝诗鱼子提拉紧致精华水怎么样

    伊贝诗鱼子提拉紧致精华水是一款采用鱼子提取物作为主要成分的护肤品,具有提拉紧致的效果。其特色在于运用了先进的蒸馏技术,提取出珍贵的鱼子精华,这种精华含有丰富的氨基酸、胶原蛋白和多种微量元素,能够有效地滋养肌肤,提升肌肤的弹性,平滑肌肤纹理,

    2024-04-15
    27600
  • 请教 爽肤水 乳液 雅漾活泉水喷雾 雅漾毛孔调理露隔离霜眼部遮瑕眼霜的正确使用顺序

    无论使用什么样的护肤产品,一定要遵循的一个规则就是:1,由质地分子小的在最前面,帮助皮肤吸收的作用2,质地露状的精华在水之后3,面部皮肤调理好了,再是眼部肌肤,3,除非你用的是ALBION的乳液,否则还是用在

    2024-04-15
    49900

发表评论

登录后才能评论
保存