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

Home » Public Forums » archive » Re: Window Background
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: Window Background [message #22370 is a reply to message #22350] Sat, 04 November 2000 00:00 Go to previous message
Med Bennett is currently offline  Med Bennett
Messages: 109
Registered: April 1997
Senior Member
Eric Kihn wrote:

> Hello all,
>
> Since I got such a great response to my last post I thought I'd try one
> more time. Thanks to JD I got the code running but now the
> behaviour on Windows and Linux is different. On the Linux side my plot
> window comes up with a white background, on the Windows side a black one.
> Same code and version of IDL 5.3. Since I need the white BG I tried
> !P.BACKGROUND = 255 on windows but no change.
>
> [code snipped]

I just do

erase,color='ffffff'x

and then

plot,whatever,color=some_other_color,/noer

This strikes me as totally inelegant but seems to work fine.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Slow Time Test in IDL 5.4
Next Topic: Variable Type conversions and ATAN function

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

Current Time: Sat Oct 11 12:33:08 PDT 2025

Total time taken to generate the page: 1.76077 seconds