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

Home » Public Forums » archive » All I get is gray scale
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
All I get is gray scale [message #29090] Thu, 31 January 2002 13:23
gary.hodgesREMOVE is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: idl, color and exceed xserver?
Next Topic: Re: why the output of PS and Screen arenot the same?

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

Current Time: Wed Oct 08 18:54:08 PDT 2025

Total time taken to generate the page: 0.00332 seconds