inserting image in matab gui

3 ビュー (過去 30 日間)
Muhammad Talha Bashir
Muhammad Talha Bashir 2021 年 6 月 27 日
編集済み: Image Analyst 2021 年 6 月 27 日
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.

採用された回答

Image Analyst
Image Analyst 2021 年 6 月 27 日
編集済み: Image Analyst 2021 年 6 月 27 日
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 件)

製品


リリース

R2015a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by