Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: MatLab GUI axes
Replies: 7   Last Post: Nov 23, 2007 1:26 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Amin Bashi

Posts: 10
Registered: 11/23/07
Re: MatLab GUI axes
Posted: Nov 23, 2007 1:26 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi
see this example
http://www.mathworks.com/access/helpdesk/help/techdoc/
index.html?/access/helpdesk/help/techdoc/creating_guis/f5-
1002439.html&http://www.mathworks.com/cgi-bin/texis/
webinator/
search/?db=MSS&prox=page&rorder=750&rprox=750&rdfreq=500&rwfreq=500&rlead=250&sufs=0&order=r&is_summary_on=1&ResultCount=10&query=if+%28hObject+%3D%3D+handles.english%29++++++set%28handles.text4%2C+%27String%27%2C+%27lb%2Fcu.in%27%29%3B++++++set%28handles.text5%2C+%27String%27%2C+%27cu.in%27%29%3B++++++set%28handles.text6%2C+%27String%27%2C+%27lb%27%29%3B&submitButtonName=Search


"H H" <john.doe.nospam@mathworks.com> wrote in message
<fi5gt1$b4s$1@fred.mathworks.com>...
> "Bruno Luong" <brunoluong@yahoo.com> wrote in message
> <fhtus8$lkq$1@fred.mathworks.com>...

> > "H H" <john.doe.nospam@mathworks.com> wrote in message
> > <fhtfvp$jdo$1@fred.mathworks.com>...

> > > I looked this up and I am not sure how I can use it.
Can you
> > > show me the example with my code?
> > >
> > > Thanks.
> > >

> >
> > In the callback of a GUI such as
> > function browseBut_Callback(hObject, eventdata, handles)
> >
> > the thrid argument "handles" is a structures that

contains
> > handles of objects in your GUI. Often time the main
figure is
> > handles.figure1. If you have an axes in the GUI, you can
> > access to its handle through the structure "handles".
> >
> > Get there the handles of your figure and axis, do not

use
> > gcf and global variable.
> >
> > Note: You can rename handle of your objects from GUIDE

by
> > editing their properties 'Tag'.
> >
> > Bruno

>
> Bruno,
>
> Sorry for the trouble but I am still confuse.
>
> Can past a sample of code how to resolve that problem?
> Thanks a lot.





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.