White background Help! [message #10009] |
Sat, 27 September 1997 00:00 |
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  |
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
|
|
|