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

5 views (last 30 days)
Seventeen4
Seventeen4 on 6 Jul 2019
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

Answers (1)

Hari Krishna Ravuri
Hari Krishna Ravuri on 17 Jul 2019
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.

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!