Plot Line Style Error Message

조회 수: 2 (최근 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]

추가 답변 (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