How to set text size in axes units?

1 view (last 30 days)
Mr M.
Mr M. on 28 Sep 2015
Answered: dpb on 28 Sep 2015
I have a plot with ylim [0,1] and I would like to use put a text on the plot with text height 0.1 in y-units. It is possible to set the heigh in y-units?

Accepted Answer

dpb
dpb on 28 Sep 2015
set(text_handle,'FontUnits','normalized')
See
doc text % text properties for further details...

More Answers (0)

Community Treasure Hunt

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

Start Hunting!