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

Home » Public Forums » archive » TVIM display routine on 24-bit displays
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
TVIM display routine on 24-bit displays [message #23218] Thu, 11 January 2001 10:17
David Williams is currently offline  David Williams
Messages: 13
Registered: February 2000
Junior Member
Hi, there.

I've recently made the switch (as a user, not as sysadmin!) from a Sun
Ultra running Solaris to a PC running Red Hat 6.2. No big deal, perhaps,
but I'm having to come to terms with using a decent graphics card with
24-bit colour when using IDL (and the various astronomy add-ons like CDS
and SolarSoft).

My problem is this: I used to use a very nifty display routine by Paul
Ricchiazzi called TVIM.PRO, which always did the job brilliantly for me.
It still plots fine on a postscript device, but when you use it to
display an image on your 24-bit colour XWindow, the colour table doesn't
scale nicely. If you're using colour table 0 (greyscale), for example,
to view a 2-D image, then it doesn't scale from black (minimum data
value) to white (maximum data value) as it would under an 8-bit display.

I know that the colour system under 24-bit isn't as straightforward as
under 8-bit, for which (I read) IDL is optimised.

Because so many of my routines (and some of my colleagues') depend on
TVIM and all its nice keywords, does anyone know of a way to make TVIM
display things properly on a 24-bit XWindow? The only kludge I've been
able to get to work so far has been to get our sysadmin to cripple the
machine's display to 8-bit colour, which seems like a rather ham-fisted
way of doing things.

Any help would be _greatly_ appreciated,

thanks for taking the time to read this,

Dave Williams,
Belfast.

--
[Message index]
 
Read Message
Previous Topic: Re: Tickmarks and ticklabels
Next Topic: restore of old ROIs doesn't work under Envi 3.4

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

Current Time: Wed Oct 08 19:12:50 PDT 2025

Total time taken to generate the page: 0.00371 seconds