Borrar filtros
Borrar filtros

Howto insert image in guide in red area ?

1 visualización (últimos 30 días)
Adisorn Phanukthong
Adisorn Phanukthong el 26 de Sept. de 2017
Comentada: Walter Roberson el 26 de Sept. de 2017

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Red en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by