Text box as subplot
72 ビュー (過去 30 日間)
古いコメントを表示
Jelle van Zuijlen
2015 年 3 月 26 日
コメント済み: Jelle van Zuijlen
2015 年 3 月 26 日
I would like to insert a textbox as a subplot in my figure. I have a figure with 3 graphs and the fourth subplot I would like to insert a textbox with exlpanantion.
Many thanks
0 件のコメント
採用された回答
Ilham Hardy
2015 年 3 月 26 日
Something like this?
figure(1)
p1 = subplot(4,1,1);
p2 = subplot(4,1,2);
p3 = subplot(4,1,3);
p4 = subplot(4,1,4);
text(0.5,0.5,'Explanation'); axis off
2 件のコメント
Ilham Hardy
2015 年 3 月 26 日
編集済み: Ilham Hardy
2015 年 3 月 26 日
Jelle,
position can be changed based on you axis setting.
If you change the part axis off to axis on you can see that the text location is at x=0.5 and y=0.5 which corresponds with text( 0.5,0.5 ,'Explanation');
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Subplots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!