I've been playing with the x01c example and have noticed that the  
postscript output obtained by using the "-save" option depends on the  
device chosen.  Am I doing something wrong or (more likely) not  
understanding what plcpstrm does?

Without attaching the actual files, here's an indication of what  
happens...

$ ./x01c -dev xwin -save xwin.ps
PLplot library version: 5.9.5
The current plot was saved in color Postscript under the name `xwin.ps'.

$ ./x01c -dev xcairo -save xcairo.ps
PLplot library version: 5.9.5
The current plot was saved in color Postscript under the name  
`xcairo.ps'.

$ sum *ps
42669 29 xcairo.ps
42340 80 xwin.ps

I was expecting them to be independent of the driver chosen, but now  
I'm starting to think that maybe some device info is getting copied  
to the "cps" stream during "plcpstrm(cur_stream, 0);".

Even if that is the case, I still have a problem.  The on-screen  
output from both the xwin and xcairo devices looks fine, but neither  
of the postscript files looks as expected.  xwin.ps looks OK except  
that the lower right plot (from plot3()) is "dim" compared to the  
other three.  xcairo.ps has no text and the edges of the "page" are  
flush with the "outer" edges of the four plots.

FWIW, I am using PLplot version 5.9.5 (the tarball release) installed  
on a Mac (OS X 10.4.11) via MacPorts.

Actual files are available at...

http://astro.berkeley.edu/~davidm/xwin.ps

http://astro.berkeley.edu/~davidm/xcairo.ps

Thanks,
Dave


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to