Is this distance variable?
Afficher commentaires plus anciens
Dear Community,

in the picture you can see a distance. Is it possible to enlarge this distance, so that the graphic looks better?
Thanks for help and have a nice evening, Christian
Réponse acceptée
Plus de réponses (2)
hYLabel = ylabel( 'Some y label' );
then you can edit the ' Position' property of your hYLabel to move it horizontally or vertically. You may have to move the axes as well though as your label may end up off the screen otherwise.
e.g
hYLabel.Position(2) = -15;
1 commentaire
Christian Vering
le 13 Jan 2016
Star Strider
le 13 Jan 2016
Also, if you want to use LaTeX syntax, you need to specify the LaTeX interpreter:
xlabel('$\rm{time}~[s]$', 'Interpreter','latex')
2 commentaires
Christian Vering
le 13 Jan 2016
Star Strider
le 13 Jan 2016
It should be. Everything should scale, including the font size.
Catégories
En savoir plus sur Graphics Object Properties dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!