how to use image of one axis in other axes
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Anika Bashir
am 27 Jun. 2015
Kommentiert: Image Analyst
am 29 Jun. 2015
i m creating a GUI, with two axes and a pushbutton, i upload an image of any type using pushbutton, I want to use the same image in other axes, but i cant??
1 Kommentar
Azzi Abdelmalek
am 27 Jun. 2015
[but I can't] what does that mean? please post your code and explain your problem
Akzeptierte Antwort
Image Analyst
am 27 Jun. 2015
Why not? Just switch axes and put it in the other axes:
axes(handles.axes1);
imshow(yourImage);
axes(handles.axes2);
imshow(yourImage);
2 Kommentare
Image Analyst
am 29 Jun. 2015
I probably would not call your image variable the same name, axes1, as the tag of the axes control you're going to put it into. Call it rgbImage or grayImage or image1 or something descriptive like that, not something misleading like axes1.
Anyway, glad you got it all working using my code, and thanks for Accepting the answer.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!