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!