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 #29088 is a reply to message #29084] Thu, 31 January 2002 13:55 Go to previous messageGo to previous message
Ralf Flicker is currently offline  Ralf Flicker
Messages: 19
Registered: October 2001
Junior Member
gary.hodgesREMOVE@cires.colorado.edu wrote:
>
> 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.

I always have this problem after a new installation. You might
need to add true_color=24 or pseudo_color=8 to your device
assignment, depending upon what depth your screen is set to. Do
a xdpyinfo to check. HTH.

ralf
[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: Sun Oct 12 08:41:30 PDT 2025

Total time taken to generate the page: 1.44043 seconds