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: set focus to figure & guidata() related question
Replies: 2   Last Post: Sep 21, 2012 2:51 PM

Advanced Search

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

Posts: 22
Registered: 4/19/12
Re: set focus to figure & guidata() related question
Posted: Sep 21, 2012 2:51 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Thanks.
#1: Setting focus: Your command did not work.
#2. guidhandles: I think the myGui_OutputFcn is sending the handles. So, if I open the GUI using hh = myGui; (With a semicolon at the end), it still displays all the handles.

On Thursday, September 20, 2012 10:16:03 PM UTC-4, stac.sctt wrote:
> ? 2012?9?21????UTC+8??5?41?05?????????
>

> > Hi,
>
> >
>
> >
>
> >
>
> > Question 1: How to set focus to (bring to front) the a figure window.
>
> >
>
> > I have multiple figure windows being updated. Due to the lack of space on the screen, I have these on top of each other and I have to keep clicking on the figures as they are being updated in a loop.
>
> >
>
> >
>
> >
>
> > For ex: figure(1) and figure(2) are updated 5 times in a loop, figure(1) for the first 10%, then figure(2) and so on. (resizing is not an option)
>
> >
>
> >
>
> >
>
> > I have been searching for solutions to change the focus of this window. I tried these solutions without any success ( I am on Ubuntu Linux, R2011b) :
>
> >
>
> >
>
> >
>
> > figure(fig1Handle); etc
>
> >
>
> > set(0,'CurrentFigure',fig1Handle);
>
> >
>
> > uistack(fig1Handle,'top')
>
> >
>
> > set(fig1Handle, 'position', fig1Position);
>
> >
>
> >
>
> >
>
> > Question2:
>
> >
>
> > guidata(hObject,handles); displays all the properties whenever it is called. Is there a way to suppress this info?
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > Thanks.
>
>
>
> 1.set(fig1Handle,'visible','on')
>
> 2.I did not encounter what you say(display nothing)
>
>
>
> win 7 x64 2012a





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.