inserting image in matab gui
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Muhammad Talha Bashir
am 27 Jun. 2021
Bearbeitet: Image Analyst
am 27 Jun. 2021
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/666865/image.png)
as i read the image and show it, it does not displayes on the desired axes, rather it makes a new axes or shows on the next axes. i want to see this on my desired axes.
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 27 Jun. 2021
Bearbeitet: Image Analyst
am 27 Jun. 2021
That will make a 2-by-2 array of plots and display the image in slot #1 (the upper left slot). That's where you told it do display. If you don't want that, then make a different third argument to subplot() or maybe just don't use subplot at all. In general:
imshow(rgbImage, 'Parent', handleToAxesThatYouWant);
or
axes(handleToAxesThatYouWant);
imshow(rgbImage);
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!