Re: [Plplot-devel] Multiple extcairo plot streams plot dimension problem

2008-10-26 Thread Alan W. Irwin
On 2008-10-24 23:04-0400 Hazen Babcock wrote: > > On Oct 24, 2008, at 10:26 PM, Hazen Babcock wrote: > >> On closer inspection, the svg driver is pretty much riddled with this >> problem. You could have all kinds of strange things happen if you >> tried to use two or more svg streams concurrently,

Re: [Plplot-devel] Multiple extcairo plot streams plot dimension problem

2008-10-24 Thread Hazen Babcock
On Oct 24, 2008, at 10:26 PM, Hazen Babcock wrote: > > On Oct 24, 2008, at 12:38 AM, Alan W. Irwin wrote: > >> On 2008-10-23 23:28-0400 Hazen Babcock wrote: >>> >> Hi Hazen, >> >> The problem occurs in svg.c as well, and there may be others. > > On closer inspection, the svg driver is pretty much

Re: [Plplot-devel] Multiple extcairo plot streams plot dimension problem

2008-10-24 Thread Hazen Babcock
On Oct 24, 2008, at 12:38 AM, Alan W. Irwin wrote: > On 2008-10-23 23:28-0400 Hazen Babcock wrote: >> > Hi Hazen, > > The problem occurs in svg.c as well, and there may be others. On closer inspection, the svg driver is pretty much riddled with this problem. You could have all kinds of strange

Re: [Plplot-devel] Multiple extcairo plot streams plot dimension problem

2008-10-24 Thread Hazen Babcock
On Oct 24, 2008, at 2:22 PM, Hezekiah M. Carty wrote: > On Fri, Oct 24, 2008 at 2:49 AM, Werner Smekal > <[EMAIL PROTECTED]> wrote: >> Hi, >> >>> >>> The problem is here: >>> >>> static PLFLT downscale = 0.; >> >>> >>> >>> This should be stored separately as part of each plot stream rather >>>

Re: [Plplot-devel] Multiple extcairo plot streams plot dimension problem

2008-10-24 Thread Hezekiah M. Carty
On Fri, Oct 24, 2008 at 2:49 AM, Werner Smekal <[EMAIL PROTECTED]> wrote: > Hi, > >> >> The problem is here: >> >> static PLFLT downscale = 0.; > >> >> >> This should be stored separately as part of each plot stream rather >> than being a single static global variable. > > Yes, this variable needs

Re: [Plplot-devel] Multiple extcairo plot streams plot dimension problem

2008-10-23 Thread Werner Smekal
Hi, > > The problem is here: > > static PLFLT downscale = 0.; > > > This should be stored separately as part of each plot stream rather > than being a single static global variable. Yes, this variable needs to be moved to the PLcairo struct. A instance of this struct is saved into the dev vari

Re: [Plplot-devel] Multiple extcairo plot streams plot dimension problem

2008-10-23 Thread Alan W. Irwin
On 2008-10-23 23:28-0400 Hazen Babcock wrote: > > On Oct 23, 2008, at 6:41 PM, Hezekiah M. Carty wrote: > >> On Thu, Oct 23, 2008 at 5:22 PM, Hezekiah M. Carty >> <[EMAIL PROTECTED]> wrote: >>> I have run across a problem using the extcairo driver and multiple, >>> differently dimensioned plots.

Re: [Plplot-devel] Multiple extcairo plot streams plot dimension problem

2008-10-23 Thread Hazen Babcock
On Oct 23, 2008, at 6:41 PM, Hezekiah M. Carty wrote: > On Thu, Oct 23, 2008 at 5:22 PM, Hezekiah M. Carty > <[EMAIL PROTECTED]> wrote: >> I have run across a problem using the extcairo driver and multiple, >> differently dimensioned plots. The attached C program >> ext-cairo-test-problem.c is

[Plplot-devel] Multiple extcairo plot streams plot dimension problem

2008-10-23 Thread Hezekiah M. Carty
I have run across a problem using the extcairo driver and multiple, differently dimensioned plots. The attached C program ext-cairo-test-problem.c is a modified version of examples/c/ext-cairo-test.c from the PLplot source tree and illustrates the problem I am having. To compile the attached code

Re: [Plplot-devel] Multiple extcairo plot streams plot dimension problem

2008-10-23 Thread Hezekiah M. Carty
On Thu, Oct 23, 2008 at 5:22 PM, Hezekiah M. Carty <[EMAIL PROTECTED]> wrote: > I have run across a problem using the extcairo driver and multiple, > differently dimensioned plots. The attached C program > ext-cairo-test-problem.c is a modified version of > examples/c/ext-cairo-test.c from the PLp