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 a modified version of >> examples/c/ext-cairo-test.c from the PLplot source tree and >> illustrates the problem I am having. > > Apparently this is not restricted to the extcairo driver, but instead > affects all Cairo plotting devices. Another test using pscairo + > pngcairo shows the same issue. The attached OCaml code illustrates a > similar problem with a misplaced plotted point at the last call to > plploin.
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. -Hazen ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
