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

Home » Public Forums » archive » Re: Change default value of system variable?
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: Change default value of system variable? [message #23840 is a reply to message #23839] Fri, 23 February 2001 09:21 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
David Fanning (davidf@dfanning.com) writes:

> Uh, use somebody else's routine:
>
> !P.Background = FSC_Color("white", !P.Background)
> !P.Color = FSC_Color("black", !P.Color)
>
> That will work correctly *everywhere*. :-)

Whoops! Now that I think about it (my brain is
still sluggish from all the percussive noise the
past couple of days) I don't think this will solve
your problem. Let me think about this some.

Actually, my rule of thumb for *all* color
operations is to always load the colors before
you draw the graphics. That is really the only
reliable way to be sure your graphic will be
displayed with the proper colors. Certainly
the two lines of code I mentioned will work
correctly if executed immediately prior to any
graphic operation. But I see now you were asking
a different question.

Sorry. I'm going back to bed after I apply a
little more liniment.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: !EXCEPT
Next Topic: Re: reading files with date- and time - columns

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

Current Time: Fri Oct 10 05:34:44 PDT 2025

Total time taken to generate the page: 0.64031 seconds