Text Vertical Alignment best position

Hi ,
Do we have best position function if i want to write a text on a line?
I usually use
text(time_weight_FL,Alt_constant(i),str1,'VerticalAlignment','bottom')%prints the altitude on the center of each chunk
But since I am overlaying my plot with another plot, sometimes my text is crossed by the other plot.
Any solution you would suggest?

Answers (0)

Tags

Asked:

on 20 Jul 2015

Edited:

on 20 Jul 2015

Community Treasure Hunt

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

Start Hunting!