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

조회 수: 1 (최근 30일)
Zayne
Zayne 2011년 9월 9일
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??

답변 (1개)

Grzegorz Knor
Grzegorz Knor 2011년 9월 9일
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
Grzegorz Knor
Grzegorz Knor 2011년 9월 9일
moving small image:
for k=0:9
set(a,'Position',[k/10 k/10 .1 .1])
pause(0.5)
end

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Display Image에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by