Howto insert image in guide in red area ?
조회 수: 2 (최근 30일)
이전 댓글 표시
답변 (1개)
Walter Roberson
2017년 9월 26일
Create an axes that is positioned there. Set the axes Visible property off. imshow() or image() an image into place.
댓글 수: 2
Walter Roberson
2017년 9월 26일
fig = gcf;
ax = axes('Parent', fig, 'Units', 'normal', 'Position', [.05 0.75 .25 0.40]);
TheImage = imread('cameraman.tif');
image(TheImage, 'Parent', ax);
colormap(ax, gray(256));
axis(ax, 'image');
참고 항목
카테고리
Help Center 및 File Exchange에서 Red에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
