[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window Background



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.