IMAGESC _ show in axes _ GUIDE

2 ビュー (過去 30 日間)
Yesid Goyes
Yesid Goyes 2011 年 10 月 16 日
Hi !
the Imagesc isn't imagesc(*handles.axes* , x ,y ) !!!!!!!!!!!!
how does for show it in a AXES in my GUIDE ??????????????
thank's

採用された回答

Image Analyst
Image Analyst 2011 年 10 月 17 日
First make sure you're calling imagesc() and not Imagesc() because MATLAB is case sensitive. Look up the help for imagesc. What exactly do you think x and y are that you're passing in? Where is the image array that you're trying to display??? Try this
axes(handles.axes);
imagesc(yourImageArray);
or
imagesc(yourImageArray, 'Parent', handles.axes);
Obviously you already need an axes object on your figure which has the "tag" names "axes" or else that won't work.
  2 件のコメント
Yesid Goyes
Yesid Goyes 2011 年 10 月 17 日
hello, jajaj! very thanks
>>imagesc(yourImageArray, 'Parent', handles.axes);
this is the correct form...
Image Analyst
Image Analyst 2011 年 10 月 17 日
They're both correct.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by