How can I make all my annotation sentences visible? Top line and box disappears.
4 views (last 30 days)
Show older comments
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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/227810/Annotation_Why_Invisible.jpeg)
0 Comments
Answers (1)
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.
0 Comments
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!