Why aren't my dashed lines working?

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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Labels and Annotations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by