For Programmers: Free Programming Magazines  


Home > Archive > Matlab > November 2005 > Re: Images in GUI´s









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Images in GUI´s
Marc Giertzsch

2005-11-22, 8:02 am

Hello,

I´m using a pushbutton to show the image, right.
And in its callback I´ve written the lines:
axes(handles.axes1);
imshow(handles.current_data);
But still the image isn´t occuring in the axes.
Can there be something else wrong.

Cheers, Marc.

PS: Thanks for your reply on both threads. I think we can close the
other one, its nearly the same theme at the moment.

cl wrote:[color=darkred]
>
>
> both of the answers are correct, the key is: the handles. you need
> to
> know where you want to put your image. if you haven't solve your
> problem, extra information on top of two answer above:
>
> --> before imshow, i assume that you are using a push button to
> show the image on an axes, say, with the "Tag" axes1. so what you
> need to add before imshow is:
>
> axes(handles.axes1)
> imshow(imagematrix)
>
> cl
> basic image processing blogs: <http://basic-eng.blogspot.com/>
>
> Marc Giertzsch wrote:
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com