Howto insert image in guide in red area ?

Answers (1)

Create an axes that is positioned there. Set the axes Visible property off. imshow() or image() an image into place.

2 Comments

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');

Sign in to comment.

Products

Asked:

on 26 Sep 2017

Commented:

on 26 Sep 2017

Community Treasure Hunt

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

Start Hunting!