Have you checked out example 14? This demonstrates how to do exactly
what you want. You need to make sure you call plsetopt before you call
plinit. Does example 14 work for you, including positioning the two
windows correctly?

Andrew


On Mon, Feb 09, 2009 at 07:33:22PM +0100, hans.rijn...@shell.com wrote:
> Hez,
> 
> Ok, did not know there was a difference. But this is what I do. I set an 
> environment variable for the geometry, get it in my code and then feed it to 
> PLSETOPT like :
> 
> CALL PLSETOPT('geometry',GEOM(1:LGEOM))
> 
> Where GEOM contains the geometry string as I mentioned.
> 
> Did you get it to work to positon the window with the +0+0 (or something 
> else) in the geometry string ?
> 
> Regards,
> Hans
> 
> -----Original Message-----
> From: hca...@mulethief.com [mailto:hca...@mulethief.com]on Behalf Of
> Hezekiah M. Carty
> Sent: Monday, February 09, 2009 4:41 PM
> To: Rijneke, Hans H SIEP-EPT-RIS
> Cc: plplot-general@lists.sourceforge.net
> Subject: Re: [Plplot-general] geometry option
> 
> 
> On Mon, Feb 9, 2009 at 9:04 AM,  <hans.rijn...@shell.com> wrote:
> > I tried to set the geometry option with PLSETOPT and I notice that the size
> > is taken from this option. However, I cannot make it listen to the position
> > part of the geometry specification (e.g. -geom 1200x900+0+0), which I think
> > should position the window in the top left of the screen.
> >
> > Is this implemented or am I doing something wrong ?
> >
> > I am using the "xwin" driver on Linux with Plplot version 5.9.2.
> 
> I think you need to use "geometry" rather than "geom" as the command
> line (or plsetopt) flag.  This works properly for me using a slightly
> post-5.9.2 snapshot of PLplot under Gnome on Linux using the xwin
> driver.
> 
> Hope this helps,
> 
> Hez
> 
> -- 
> Hezekiah M. Carty
> Graduate Research Assistant
> University of Maryland
> Department of Atmospheric and Oceanic Science
> 
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Plplot-general mailing list
> Plplot-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-general
> 

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to