Write in subplot below image
3 ビュー (過去 30 日間)
古いコメントを表示
Hello, Can i write something in subplot?for example calculate with formula and then result write in subplot under two image?(not title)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157729/image.jpeg)
0 件のコメント
回答 (1 件)
Image Analyst
2016 年 3 月 14 日
You'll have to use uicontrol() to create a static text control. Then you can use set() to send strings to it
hText = uicontrol(.....
string = sprintf('The value = %f', yourValue);
set(hText, 'String', string);
In uicontrol, be sure to set your Font, FontSize, and, especially, Position property.
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!