how may i change the marker color

33 ビュー (過去 30 日間)
Ihaveaquest
Ihaveaquest 2022 年 8 月 24 日
コメント済み: Ihaveaquest 2022 年 8 月 29 日
plot(frequency(41),value(:,1), LineStyle, 'r')
I am trying to change the color if this plot but I am getting an error.
  4 件のコメント
Voss
Voss 2022 年 8 月 24 日
Is the error you get, "Undefined function or variable 'LineStyle'."?
Ihaveaquest
Ihaveaquest 2022 年 8 月 29 日
no the error is not do to the Linestyle i revomed that ans it was do to the 'r'

サインインしてコメントする。

回答 (1 件)

Cris LaPierre
Cris LaPierre 2022 年 8 月 24 日
  2 件のコメント
Ihaveaquest
Ihaveaquest 2022 年 8 月 24 日
i tried most of the examples that this page show and is not working.
Cris LaPierre
Cris LaPierre 2022 年 8 月 24 日
Hard to help without seeing the code you have written. Could you share?
What did not work about this example?
x = 0:pi/10:2*pi;
y1 = sin(x);
y2 = sin(x-0.25);
y3 = sin(x-0.5);
figure
plot(x,y1,'g',x,y2,'b--o',x,y3,'c*')

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by