How to add a textbox next to a plot?

6 次查看(过去 30 天)
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.

采纳的回答

Star Strider
Star Strider 2015-11-14
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).

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Object Properties 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by