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

Home » Public Forums » archive » device, true_color=24, decompose=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
device, true_color=24, decompose=0 [message #15788] Mon, 14 June 1999 00:00
Gary Fu is currently offline  Gary Fu
Messages: 9
Registered: April 1997
Junior Member
Hello,

Based on the IDL documentation the "decomposed=0" for the "device"
command allows users with TureColor displays to use IDL programs written
for standard, PseudoColor displays without modification. But I don't
understand why I got
different results in the following two idl codes:


device, pseudo=8
window, xsize=100, ysize=100
erase, 50
print, min(tvrd()) ; print out 50
tvlct, 100, 100, 100, 50
erase, 50
print, min(tvrd()) ; print out 50

****************************************************

device, true_color=24, decompose=0
window, xsize=100, ysize=100
erase, 50
print, min(tvrd()) ; print out 50
tvlct, 100, 100, 100, 50
erase, 50
print, min(tvrd()) ; print out 100

--

Thanks.

*****************************************
* Gary Fu, GSC (301) 286-7107 *
* email : "gfu@seadas.gsfc.nasa.gov" *
* NASA/Goddard Space Flight Center *
*****************************************
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Set Precision???????????
Next Topic: POLYWARP question.

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

Current Time: Fri Oct 10 07:28:08 PDT 2025

Total time taken to generate the page: 1.11983 seconds