Plot Line Style Error Message

3 ビュー (過去 30 日間)
alpedhuez
alpedhuez 2020 年 4 月 27 日
コメント済み: alpedhuez 2020 年 4 月 27 日
I tried
plot(x,y,'--','blue')
with valid data x and y (that I can plot without these options) and got an error message of "invalid data argument." Please advise.

採用された回答

Adam Danz
Adam Danz 2020 年 4 月 27 日
編集済み: Adam Danz 2020 年 4 月 27 日
Option 1
plot(x,y,'b--')
option 2
plot(x,y,'--','color','blue') % or 'b', or [0 0 1]
  1 件のコメント
alpedhuez
alpedhuez 2020 年 4 月 27 日
Thank you.

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

その他の回答 (0 件)

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by