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

Home » Public Forums » archive » Re: White background Help!
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: White background Help! [message #10007] Sun, 28 September 1997 00:00
rickeym is currently offline  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
[Message index]
 
Read Message
Previous Topic: colorbar help
Next Topic: Re: Widget frustration continues...

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

Current Time: Sat Oct 11 07:09:57 PDT 2025

Total time taken to generate the page: 0.72044 seconds