Effacer les filtres
Effacer les filtres

Why aren't my dashed lines working?

6 vues (au cours des 30 derniers jours)
Dan Giffin
Dan Giffin le 14 Juin 2023
Commenté : Dan Giffin le 14 Juin 2023
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 commentaire
Dan Giffin
Dan Giffin le 14 Juin 2023
It only doesn't work when I have '--' if I take that out it's fine

Connectez-vous pour commenter.

Réponse acceptée

lazymatlab
lazymatlab le 14 Juin 2023
If 'Bell412' is the label of ConstantLine, you should write the line specifiers before the label.
yline(1,'r--','Bell412')
  1 commentaire
Dan Giffin
Dan Giffin le 14 Juin 2023
Much appreciated, thanks a lot!!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Labels and Annotations dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by