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

Home » Public Forums » archive » Re: a simple color question (very simple)
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: a simple color question (very simple) [message #26355 is a reply to message #26344] Tue, 21 August 2001 12:39 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
"Sean Raffuse" <sean@me.wustl.edu> writes:

> No idea why this is difficult for me.

> I would like to change the background color for my graphic window. I am
> creating a composite image of data over a map projection. The default
> window color is black, but I would like white. Is this a system variable or
> some keyword I am missing?

> Thanks in advance,

> Sean Raffuse

One way to do this is to modify !P.COLOR and !P.BACKGROUND

!p.color = 0
!p.background = !d.table_size-1
plot, ...

Or, you can reverse the color table

tvlct, r, g, b, /get
tvlct, reverse(r), reverse(g), reverse(b)

Bill Thompson
[Message index]
 
Read Message
Read Message
Previous Topic: polyfill errors?
Next Topic: Re: processing widget events from multiple hierarchies

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

Current Time: Fri Oct 10 19:12:39 PDT 2025

Total time taken to generate the page: 1.27711 seconds