IMAGESC _ show in axes _ GUIDE
2 次查看(过去 30 天)
显示 更早的评论
Hi !
the Imagesc isn't imagesc(*handles.axes* , x ,y ) !!!!!!!!!!!!
how does for show it in a AXES in my GUIDE ??????????????
thank's
0 个评论
采纳的回答
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!