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

Home » Public Forums » archive » the dreaded issue: colors
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
the dreaded issue: colors [message #15695] Fri, 04 June 1999 00:00 Go to previous message
D. Mattes is currently offline  D. Mattes
Messages: 14
Registered: May 1999
Junior Member
IDL gurus (and there are many of you!):

it appears that when IDL first starts, !D.N_COLORS and !D.TABLE_SIZE are
both 256 for my 8-bit display, and don't actually report the number of
colors in the shared color table, until a window or device has been
opened. how can i get around this "feature"? i suppose i could open and
close a window before querying these system variables...

also: static color tables are a drag on the mac!!! why won't the
following work on a mac?

loadct,3,ncolors=100,bottom=0
loadct,1,ncolors=100,bottom=100

and how can i implement such a beast on the mac?

by the way, that was a very helpful discussion on IDL variables...much
appreciated!

thanks again,
david mattes
[Message index]
 
Read Message
Read Message
Previous Topic: widget_programming
Next Topic: Re: arbitrary rotation of 3-d arrays

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

Current Time: Wed Oct 08 15:34:48 PDT 2025

Total time taken to generate the page: 0.00367 seconds