need to ad an image on top of another image in axes,on gui!
1 次查看(过去 30 天)
显示 更早的评论
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??
0 个评论
回答(1 个)
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
2011-9-9
moving small image:
for k=0:9
set(a,'Position',[k/10 k/10 .1 .1])
pause(0.5)
end
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!