Filter löschen
Filter löschen

Howto insert image in guide in red area ?

1 Ansicht (letzte 30 Tage)
Adisorn Phanukthong
Adisorn Phanukthong am 26 Sep. 2017
Kommentiert: Walter Roberson am 26 Sep. 2017

Antworten (1)

Walter Roberson
Walter Roberson am 26 Sep. 2017
Create an axes that is positioned there. Set the axes Visible property off. imshow() or image() an image into place.
  2 Kommentare
Adisorn Phanukthong
Adisorn Phanukthong am 26 Sep. 2017
Please sample code
Walter Roberson
Walter Roberson am 26 Sep. 2017
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');

Melden Sie sich an, um zu kommentieren.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by