matlab画图怎么设置线条类型和颜色
1个回答
展开全部
1、二维矩阵作图,PLOT(X,Y,LineSpec),LineSpec代码下面三列中的任何一个
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
v triangle (down)
^ triangle (up)
< triangle (left)
> triangle (right)
p pentagram
h hexagram
2、假如设置颜色为红色,线条为+,直线,则为plot(x,y,'r+-')
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
v triangle (down)
^ triangle (up)
< triangle (left)
> triangle (right)
p pentagram
h hexagram
2、假如设置颜色为红色,线条为+,直线,则为plot(x,y,'r+-')
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询