Home »
Public Forums »
archive »
Re: White background Help!
Re: White background Help! [message #10007] |
Sun, 28 September 1997 00:00 |
rickeym
Messages: 6 Registered: September 1997
|
Junior Member |
|
|
Thanks that worked great!
In article <MPG.e964343207ae888989704@news.frii.com>, davidf@dfanning.com
(David Fanning) wrote:
> Rick McDaniel writes:
>
>> IDL's default background on all plots is black.
>> This uses alot of ink! Is there a way to make
>> the background white? Any help appreciated.
>
> Try this:
>
> !P.Background = !D.N_Colors-1
> !P.Color = 0
>
> Just remember to switch these system variables back
> to their defaults before you create PostScript output
> or you will end up with white on white plots. :-)
>
> You can find many other tips on using colors in IDL
> on my web page.
>
> Cheers,
>
> David
>
> ----------------------------------------------------------
> David Fanning, Ph.D.
> Fanning Software Consulting
> Customizable IDL Programming Courses
> Phone: 970-221-0438 E-Mail: davidf@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com
|
|
|
Current Time: Sat Oct 11 07:09:57 PDT 2025
Total time taken to generate the page: 0.72044 seconds