Is this distance variable?
Show older comments
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
Accepted Answer
More Answers (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 Comment
Christian Vering
on 13 Jan 2016
Star Strider
on 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 Comments
Christian Vering
on 13 Jan 2016
Star Strider
on 13 Jan 2016
It should be. Everything should scale, including the font size.
Categories
Find more on Graphics Object Properties in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!