two figures or image in single gui
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
HI.... How to read the two different images for two different graphs in single GUI?
1 Kommentar
Akzeptierte Antwort
Arturo Moncada-Torres
am 15 Jun. 2011
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!