How do I display an image in an axes when a push button is clicked in matlab gui ?
5 ビュー (過去 30 日間)
古いコメントを表示
I want to display an image in the axes when push button 1 is clicked and in the same axes i want to display another image when push button 2 is clicked How do i do it?
0 件のコメント
回答 (1 件)
Walter Roberson
2016 年 2 月 18 日
ax = handles.TheDestinationAxes
im = imread('TheImageToShow.png');
imshow(im, 'Parent', ax);
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!