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

Home » Public Forums » archive » Re: Colors and Redhat linux 6.0
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
Re: Colors and Redhat linux 6.0 [message #18367] Sat, 18 December 1999 00:00
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
John Boccio wrote:

> I have a user of Idl V5.2.1 under Redhat Linux V6.0.
> What is the proper way to set up colors?
> He can use 24 bit truecolor.
> What are correct settings for RETAIN, DECOMPOSED, PSEUDO, TRUE, etc..

Start a new IDL session and type:
device, true_color=24
window, /free
device, decomposed=0, retain=2

These commands sould be loaded in an IDL startup file (e.g.
$HOME/idl_startup.pro). Set IDL_STARTUP to point to the startup file,
e.g

setenv IDL_STARTUP $HOME/idl_startup.pro

> We cannot get printed colors to reproduce screen images.

By printed, you mean the Postscript or Printer devices? A utility that
may help is my IMDISP image display program:

http://cimss.ssec.wisc.edu/~gumley/imdisp.html

Then you could try this:

demo_getdata, image, file='hurric.dat'
loadct, 13
imdisp, image
set_plot, 'PRINTER'
loadct, 13
imdisp, image

Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Scrolling text
Next Topic: ANNOUNCE: psconfig

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

Current Time: Wed Oct 08 15:11:41 PDT 2025

Total time taken to generate the page: 0.00568 seconds