how can i add text inside subplot(1,3,3) writing code
조회 수: 16 (최근 30일)
이전 댓글 표시
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/191638/image.jpeg)
댓글 수: 2
답변 (1개)
jonas
2018년 7월 3일
Here are two methods. In the first one, x and y refers to the axis coordinates. Make sure you set the current axis to the correct subplot
text(x,y,'text')
In the second one, x and y refers to the figure coordinates
annotation('textbox',[x y w h],...
'string','text',...
'linestyle','none')
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Subplots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!