[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Graphics] Additional features
From: |
Michael Goffioul |
Subject: |
Re: [Graphics] Additional features |
Date: |
Mon, 4 Feb 2008 10:34:13 +0100 |
On Mon, Feb 4, 2008 at 8:52 AM, John W. Eaton <address@hidden> wrote:
> | + static Matrix
> | + default_figure_position (void)
> | + {
> | + Matrix m (1, 4, 0.0);
> | + m(0) = 300;
> | + m(1) = 200;
> | + m(2) = 560;
> | + m(3) = 420;
> | + return m;
> | + }
>
> Does this mean that all figure windows will start out in the same
> fixed location on the screen? If so, I think we need to make this
> optional. I know that I would usually prefer to leave the placement
> up to my window manager, which seems to do a good job of placing new
> windows in areas of the screen that are unoccupied.
That's how Matlab works. The important thing here was to get a
non-zero size. The location is less important. We can probably
enhance Matlab behavior by specifying NaN's for location, meaning
the job is left to the windows manager.
Michael.