All I get is gray scale [message #29090] |
Thu, 31 January 2002 13:23 |
gary.hodgesREMOVE
Messages: 9 Registered: October 2001
|
Junior Member |
|
|
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.
Curiously, if I move the plot window on the desktop I get a horizontal pink
and pink bar stretching across the screen.
In case it matters: RedHat v7.2, IDL 5.4
Cheers,
Gary
|
|
|