two figures or image in single gui
1 次查看(过去 30 天)
显示 更早的评论
HI.... How to read the two different images for two different graphs in single GUI?
采纳的回答
Arturo Moncada-Torres
2011-6-15
Mmm, actually is doing the same for one axes than for two. You just need to specify in which axes you will like to display the image. You can do this using the Parent property and the handle of the axes in the GUI. On a quick thought, it would be something like this:
I1 = imread('image1.jpg');
I2 = imread('image2.jpg');
imagesc(I1, 'Parent', handles.axes1);
imagesc(I2, 'Parent', handles.axes2);
Just put that in your code wherever you need it.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!