From: Alan W. I. <ir...@be...> - 2004-02-12 18:38:59
|
On 2004-02-12 15:24+0100 Arjen Markus wrote: > Arjen Markus wrote: > > > > Hello, > > > > I am having a serious problem with the PSC driver: > > - When my program prints to a colour-Postscript file, the PS driver > > decides to make the background black, because colour 0 is not white. > > (this is done in plD_bop_ps()) > > - However, I can not set colour 0 to white, because the colours are > > reset in plinit() (to initialise the driver). > > > > What is the remedy? Fill a white rectangle the size of the whole page? > > > > No, that is not a remedy - wrong sizes, the rectangle does not fill the > page. > > Nor is calling plbop() after plinit() and the colours have been set > right > (as the page status is still AT_BOP then). > > Any ideas? Check the documentation in http://plplot.org/docbook-manual. Chaper 3 there has a section on setting colour which gives you all the background options (which, as documented, must be done before plinit). Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the PLplot scientific plotting software package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), the Loads of Linux Links project (loll.sf.net), and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |