How can I make all my annotation sentences visible? Top line and box disappears.

2 次查看(过去 30 天)
I want to add annotation at the top of the figure outside the plot.
The text should have 3 lines, but I can only see 2 lines (second line is partially invisible).
How can I make all the text lines and surrounding box line visible?
Annotation_Why_Invisible.jpg

回答(1 个)

Hari Krishna Ravuri
Hi,
I understand that, you have three lines of annotation outside the plot and one of the line was not visible due to the dimensions of the Figure window. To Solve this, you can set the Position attribute of the Figure to desired value and make the Figure bigger, so that all the three lines of annotation are visible. You can do this by
set(gcf,'Position',[left bottom width height]);
Please refer the following documentation for more information.

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

产品


版本

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by