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?
0 个评论
回答(1 个)
Hari Krishna Ravuri
2019-7-17
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!