필터 지우기
필터 지우기

IMAGESC _ show in axes _ GUIDE

조회 수: 7 (최근 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 CenterFile Exchange에서 Colormaps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by