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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/227810/Annotation_Why_Invisible.jpeg)
댓글 수: 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!