inserting image in matab gui
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Subplots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!