From: William Cox on
For some reason the default opening location for my MATLAB figures it ouside of the screen area of my monitor. How do I change this?
Put another way, when I call "figure" the window opens, but half of it is off the screen. This is very irritating.
From: Walter Roberson on
William Cox wrote:
> For some reason the default opening location for my MATLAB figures it
> ouside of the screen area of my monitor. How do I change this?
> Put another way, when I call "figure" the window opens, but half of it
> is off the screen. This is very irritating.

You may wish to check

get(0,'DefaultFigurePosition')

and

get(0,'FactoryFigurePosition')

and see if either of those is set.

Are you possibly using a dual monitor setup ? I seem to recall people
running into positioning problems sometimes with dual setups.
From: William Cox on
Walter,

Yes I am using a dual monitor setup. Do you recall any fixes?
Both of those values are set. Mine are:

get(0,'DefaultFigurePosition')
ans = -792 1014 560 420
get(0,'FactoryFigurePosition')
ans = 100 100 660 520



Walter Roberson <roberson(a)hushmail.com> wrote in message <PSyIn.7108$304.3223(a)newsfe12.iad>...
> William Cox wrote:
> > For some reason the default opening location for my MATLAB figures it
> > ouside of the screen area of my monitor. How do I change this?
> > Put another way, when I call "figure" the window opens, but half of it
> > is off the screen. This is very irritating.
>
> You may wish to check
>
> get(0,'DefaultFigurePosition')
>
> and
>
> get(0,'FactoryFigurePosition')
>
> and see if either of those is set.
>
> Are you possibly using a dual monitor setup ? I seem to recall people
> running into positioning problems sometimes with dual setups.
From: Matt Fig on
Here:
>> get(0,'DefaultFigurePosition')
ans =
680 678 560 420



Try this:

>>figure('units','pixels','position',[680 678 560 420])

If you like that position, then do:

>>set(0,'defaultfigureposition',[680 678 560 420])

and try again:

>>figure
From: Walter Roberson on
William Cox wrote:
> Yes I am using a dual monitor setup. Do you recall any fixes? Both of
> those values are set. Mine are:
>
> get(0,'DefaultFigurePosition')
> ans = -792 1014 560 420
> get(0,'FactoryFigurePosition')
> ans = 100 100 660 520

No documented fix :(

http://www.mathworks.com/support/bugreports/301358

See also,

http://www.mathworks.com/support/solutions/en/data/1-3247BL/?solution=1-3247BL
 |  Next  |  Last
Pages: 1 2
Prev: Decode analog video input
Next: applied maths