help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Figure Position


From: Ben Abbott
Subject: Re: Figure Position
Date: Wed, 20 Oct 2010 13:04:16 +0800

On Oct 20, 2010, at 12:56 PM, some_guy wrote:

> bpabbott wrote:
>> 
>> Hi Kristen,
>> 
>> Version 4.2.4 of gnuplot does not allow octave to specifiy the x11 window
>> position. I took a quick look at the available Ubuntu packages. It appears
>> that 4.2.5 is available for the karmic distribution.
>> 
>> http://packages.ubuntu.com/karmic/gnuplot
>> 
>> I'm a Mac OSX user, so I can't offer an informed opinion on whether or not
>> upgrading to karmic is a good idea for you or not.
>> 
>> Ben
>> 
> 
> I'm using Windows XP and Octave version 3.2.4.  The command
> __gnuplot_version__ returns 
> ans = 4.4.0octave-mingw32
> So, I'm using a version much higher than 4.2.5.
> 
> I've tried the suggested commands and I can't change the plot position or
> size. They just tile the as they allways do, one right below another with a
> small offset. 
> 
> The command >get(figure(2),'Position')  will return the position specified,
> but the actual figure window isn't consistent with what octave thinks is the
> 'Position'.
> 
> Anyone have any success setting figure positions on Windows?

I don't have access to Octave running on WIndows, but assuming you're using an 
X11 terminal for gnuplot you'll only be able to position the figure window when 
it is first created. This limitation is a "feature" of using gnuplot for the 
plotting.

Try ...

        close all
        position = get (0, "defaultfigureposition");
        figure ("position", [0.5, 0.5, 1.5, 1.5] .* position);

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]