comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » WIN device color and backgnd reset after set_plot command
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: WIN device color and backgnd reset after set_plot command [message #47184 is a reply to message #47071] Thu, 26 January 2006 02:33 Go to previous messageGo to previous message
Paolo Grigis is currently offline  Paolo Grigis
Messages: 171
Registered: December 2003
Senior Member
> [...]
>
> Well, this unhappiness is caused by the odd behavior
> of the PostScript device. It switches foreground and
> background colors, then completely ignores the background
> color. ("You can have any background color you like in PostScript
> as long as it is white.") Then, when it switches back, it
> mindlessly sets !P.Color to what had previously been
> !P.Background and sets !P.Background to 0.
>
> Why? I don't know why.

Maybe to lower the toner consumption rate? It may have been
implemented after the discovery of scientists printing
tons of pages featuring white plots on black background,
giving nightmares to the people in the budget department ;-)

Ciao,
Paolo

The gods decreed it at some
> time in the past and that's the way it is. Get used
> to it, is my advice. I think it falls under the
> category of "direct graphics", which I understand to
> read "hopeless". :-)
>
> Knowing this, of course, allows you to work around it.
> Most of us build "wrappers" that allow us to switch
> from our graphics device back to our display device,
> and visa versa. We change the thickness of plots, the
> fonts, and all of the myriad other things we have to
> tweak to work around this creaky system. Here is another
> thing to go in there.
>
> Cheers,
>
> David
>
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Extract a sub-structure from a structure
Next Topic: Swap memory utilization by IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Nov 30 05:37:34 PST 2025

Total time taken to generate the page: 0.16337 seconds