Plot Line Style Error Message

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]

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by