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

Home » Public Forums » archive » Re: setting default background color, etc
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: setting default background color, etc [message #8900] Wed, 14 May 1997 00:00 Go to previous message
Andy Loughe is currently offline  Andy Loughe
Messages: 174
Registered: November 1995
Senior Member
Melissa Nischan wrote:
>
> Hi All,
>
> I am very new to IDL, and have what I believe should be a basic
> question (but I couldn't find anything in the FAQ about it): when I start
> IDL and plot something, I always get white on a black background. I
> discovered that if I set !p.background I can change that, but I was
> wondering how do I set the default background to be something other than
> black? It's a pain to have to set it each time. (I use IDL on a
> UNIX machine)
>
> thanks,
> Melissa
> nischan@ll.mit.edu



Put

!p.background = preferred_color_index

into a startup file that is automatically run when entering idl.

In Unix, IDL_STARTUP contains the name of this startup file.

--
Andrew F. Loughe |
afl@cdc.noaa.gov
University of Colorado, CIRES Box 449 |
http://cdc.noaa.gov/~afl
Boulder, CO 80309-0449 | phn:(303)492-0707
fax:(303)497-7013
------------------------------------------------------------ ---------------
"I do not feel obliged to believe that the same God who has endowed us
with
sense, reason, and intellect has intended us to forego their use."
-Galileo
[Message index]
 
Read Message
Read Message
Previous Topic: netCDF and PV-Wave 6.01
Next Topic: setting default background color, etc

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

Current Time: Thu Oct 09 23:02:27 PDT 2025

Total time taken to generate the page: 0.47971 seconds