On Thu, Oct 23, 2008 at 6:41 PM, Hezekiah M. Carty <[EMAIL PROTECTED]> 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.
Attached is a much simpler example of the problem, which only requires
that the pscairo driver is available. After a new plot stream is
created and ended, the original plot stream is not fully recovered.
It shows the offset axis labels issue, similar to my first
extcairo-specific email.
The png and psc plot drivers do not seem to have this problem. I have
not tested the others.
Thanks, and sorry for the all the noise!
Hez
--
Hezekiah M. Carty
Graduate Research Assistant
University of Maryland
Department of Atmospheric and Oceanic Science
#include <stdio.h>
#include <plplot.h>
int main(int argc, char *argv[])
{
int stream;
plsdev("pscairo");
plsfnam("test-1.ps");
plinit();
plenv(0.0, 1.0, 0.0, 1.0, 1, 0);
pllab("x", "y", "title");
/* PROBLEM ILLUSTRATION START */
plmkstrm(&stream);
plsetopt("geometry", "200x200");
plsdev("pscairo");
plsfnam("test-2.ps");
plinit();
plend1();
pllab("bad x", "bad y", "bad title");
/* PROBLEM ILLUSTRATIN END */
plend();
return 0;
}
-------------------------------------------------------------------------
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
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel