I'm trying to make dashed ylines but they seem to not be working.
yline(v_downwash_412,'r','Bell412','--')
Gives the error
"Error using yline (line 35)
Unrecognized property Bell412 for class ConstantLine.
Error in Downwash (line 64)
yline(v_downwash_412,'r','Bell412','--')"
Help

댓글 수: 1

Dan Giffin
Dan Giffin 2023년 6월 14일
It only doesn't work when I have '--' if I take that out it's fine

댓글을 달려면 로그인하십시오.

 채택된 답변

lazymatlab
lazymatlab 2023년 6월 14일

0 개 추천

If 'Bell412' is the label of ConstantLine, you should write the line specifiers before the label.
yline(1,'r--','Bell412')

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

질문:

2023년 6월 14일

댓글:

2023년 6월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by