MATLAB Answers

How to add a textbox next to a plot?

8 views (last 30 days)
I am trying to add a textbox outside the axes and the plot and next to it indicating some data in the graph. The annotation command requires me to set the location but I am unable to set the location outside the axes.

Accepted Answer

Star Strider
Star Strider on 14 Nov 2015
According to the documentation annotation objects apparently must be within the current figure. However text objects do not (although you place them with respect to the figure coordinates).

More Answers (0)

Community Treasure Hunt

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

Start Hunting!