From: Arjen M. <arj...@wl...> - 2004-02-13 10:01:32
|
"Alan W. Irwin" wrote: > > 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). > The workaround I sketched before is indeed working: the background is now nicely white. This leaves me with a few other issues, but those are for next week. Oh, by the way, I am making progress with x14f.f - but again that will be for next week - I have the source code, now I need to check that it really works. Regards, Arjen |