need to ad an image on top of another image in axes,on gui!

1 visualización (últimos 30 días)
Zayne
Zayne el 9 de Sept. de 2011
I have a snakes and ladders board loaded on axes1 so now I want to add a image of a face to move as the position changes...what function can I use??

Respuestas (1)

Grzegorz Knor
Grzegorz Knor el 9 de Sept. de 2011
Do you mean something like this?
load mandrill
imagesc(X)
axis off
axes('Units','Normalized','Position',[.55 .55 .1 .1 ])
imagesc(X)
axis off
colormap gray
  1 comentario
Grzegorz Knor
Grzegorz Knor el 9 de Sept. de 2011
moving small image:
for k=0:9
set(a,'Position',[k/10 k/10 .1 .1])
pause(0.5)
end

Iniciar sesión para comentar.

Categorías

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

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by