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

Home » Public Forums » archive » Re: All I get is gray scale
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: All I get is gray scale [message #29089 is a reply to message #29088] Thu, 31 January 2002 13:54 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Gary Hodges(gary.hodgesREMOVE@cires.colorado.edu) writes:

> I've read through several historical "color" threads and even bought the book
> (IDL Programming Techniques), but I'm still only able to plot gray scale.
> I've just followed the "Drawing Line Plots in Color" on page 25 of the
> Fanning book without success. The exact commands are (time and curve
> are already defined):
>
> IDL> TVLCT, [70,255,0], [70,255,255], [70,0,0], 1
> IDL> Plot, time, curve, Color=2, Background=1
>
> This produces a black plot window. To see anything I have to increase the
> color value to ~50, with higher values producing progressively less gray
> plots. I gather this goes against what I'm trying to do with the above TVLCT
> command, which is I understand things, to assign three RGB colors to indexes
> 1, 2 and 3.
>
> I have also tried "IDL> Device, Decomposed=0" trick without success.

Humm. I find this hard to believe. :-)

Did you try this *before* the two commands above?
I presume you did.

Try this. Start IDL, open a window (use the Window command),
the send us the contents of a Help, /Device command.
Something is not right in Denmark.

Cheers,

David

> Curiously, if I move the plot window on the desktop I get a horizontal pink
> and pink bar stretching across the screen.

Yes, quite curious. I have no idea what it might
mean.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@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
Previous Topic: Arithmetic error from NR_MACHAR()
Next Topic: ? help

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

Current Time: Tue Oct 28 00:29:38 PDT 2025

Total time taken to generate the page: 0.00262 seconds