Displaying images in the axes of GUI
5 ビュー (過去 30 日間)
古いコメントを表示
I'm developing a GUI wherein i want to display images present in external functions in the axes of my GUI. (My GUI has 4 axes and i'm calling an external function which executes and needs to display four different images in the four axes i have created) Please help me out.
1 件のコメント
回答 (1 件)
David Sanchez
2013 年 5 月 16 日
When showing the images, set the 'Parent' property of the imshow function to the handle of the axis. Ex: if you have axes tagged axes1 and axes2, to display image1(2) in axes1(2):
imshow(image1,'Parent',handles.axes1);
imshow(image2,'Parent',handles.axes2);
2 件のコメント
yeshwanth manhcuri
2013 年 5 月 21 日
no no check out the ,tags in the property inspector for the axes....if they are axes 1 n axes2 u can implement it.....
参考
カテゴリ
Help Center および File Exchange で Specifying Target for Graphics Output についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!