下面是一段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

随机推荐

  • 《妮维雅100年呵护肌肤》在办100年诞辰答题活动赢奖金吗?10658880是什么信息台?

    10658880是中国移动12580提供的消费资讯类彩信杂志服务《12580生活播报》,由7种不同内容定位的刊物组成:财富生活、去处活地图等。订制:发送98到10658880或拨打12580开通退订:发送QX98到10658880或发送00

    2024-04-15
    57400
  • 密封盒吸住了怎么打开

    1、可以利用热胀冷缩的原理,将密封盒放进微波炉内进行加热或者是用热水浸泡一段时间,密封盒内的空气会受热膨胀,密封盒就可以轻松打开。2、如果密封盒是加热之后出现打不开的情况,可以用刀尖插进密封盒盖子缝隙内轻轻撬动,让空气进入密封盒内,让盒内的

    2024-04-15
    38400
  • 妮维雅630和玉兰油多效修护面霜哪个好

    妮维雅630。1、吸收性。妮维雅630适合任何肤质,且温和不刺激,日夜也都适用,玉兰油多效修护面霜吸收性不如妮维雅630。2、成分。玉兰油多效修护面霜美白效果太快太明显说明添加化学成分多,妮维雅630与之相比好些没那么多化学成分。妮维雅是德

    2024-04-15
    46300
  • 养生之道是什么意思?养生之道成语造句和典故

    成语名称:养生之道 yǎngshēngzhīdào欢迎您访问本页,本页的主要内容为解释成语养生之道的出处和来源,以及回答养生之道的意思是什么,其中包含英语翻译和造句,同时提供了和SOSO百科的链接地址,为您全方位的

    2024-04-15
    37600
  • 碧欧泉蓝钻精华水和紧肤水哪个好

    都好。1、碧欧泉蓝钻精华爽肤水,收敛毛孔,紧致轮廓,让肌肤畅饮深澈补水,舒缓紧绷,平滑修护。2、碧欧泉蓝钻紧肤水主如果收缩毛孔,它含有酒精,会有燥热干爽的觉得能够避免青春痘的滋生,有用抑制细菌的生殖。碧欧泉精华露和精华液的质感不同。精华液的

    2024-04-15
    42500
  • 清莹露和神仙水的区别

    清莹露和神仙水的区别为价格区别、外观区别、功效区别、适用人群不同、效果区别。1、成分区别:神仙水是由半乳糖酵母的发酵物过滤液组成,除了丁二醇和其它润肤成份之外,没有其它有效成份。清莹露是用水做溶剂,加入了酵母、甘油、适量的乳化剂和酸类,水杨

    2024-04-15
    38700
  • sk2清莹露护肤品适合什么肤质呢?那么该如何正确使用呢?

    sk2清莹露适合什么样的皮肤?sk2清莹露适合大部分肤质。可用于油性皮肤、干性皮肤、混合性皮肤。另外还有去除角质层的作用。保湿皮肤效果明显,也可用于所有敏感肌或痘痘肌。不过大家要注意的是,每个人对清营洗液成分的敏感程度是不一样的。如果出现红

    2024-04-15
    39600

发表评论

登录后才能评论
保存