Plot Line Style Error Message

3 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by