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

Home » Public Forums » archive » White background Help!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
White background Help! [message #10009] Sat, 27 September 1997 00:00
rickeym is currently offline  rickeym
Messages: 6
Registered: September 1997
Junior Member
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.

Rick McDaniel
Re: White background Help! [message #10011 is a reply to message #10009] Fri, 26 September 1997 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Postscript output using ARROW
Next Topic: Widget Builder problems

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

Current Time: Wed Oct 08 19:15:35 PDT 2025

Total time taken to generate the page: 0.00575 seconds