How to set text size in axes units?

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

set(text_handle,'FontUnits','normalized')
See
doc text % text properties for further details...

More Answers (0)

Asked:

on 28 Sep 2015

Answered:

dpb
on 28 Sep 2015

Community Treasure Hunt

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

Start Hunting!