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 Center および File ExchangeDisplay Image についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by