move y and x label to the end of the label
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
per default the name for the x and y label are in the middle of the label itself, but I would like to see them at the end of the label.
is there any chance I could have an arrow at the end of the label?
how can I add a dotted line which goes through y=7 and has the same lenght as hte x-axis?
1 commentaire
the cyclist
le 31 Mar 2013
You seem to be asking three questions here. A better approach might have been to submit three separate questions.
Réponse acceptée
the cyclist
le 31 Mar 2013
For the dotted line:
xlim = get(gca,'XLim');
h = line(xlim,[7 7]);
set(h,'LineStyle',':')
2 commentaires
the cyclist
le 31 Mar 2013
I propose that the best way to get your answers (and to help others who search for similar answers later) is to
- delete the other two questions from this post
- create two new questions (where other people will see them more easily)
- accept my answer here, indicating that this question was resolved
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Axis Labels dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!