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

Home » Public Forums » archive » Re: IDL with private colormap ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL with private colormap ? [message #6743] Fri, 02 August 1996 00:00
MICHEL KRUGLANSKI is currently offline  MICHEL KRUGLANSKI
Messages: 14
Registered: August 1996
Junior Member
Ralf Utermann wrote:

>
> when I call IDL (on AIX4.1), the number of colors available in
> IDL depends very much on which other programs that are running at
> the same time and already taking away colors from the X server.
>
> Is there a possibility to call IDL with a private colormap or a
> fixed number of colors ?
>


Yes,
when you start IDL do:

device, pseudo = 8
window, col = the_number_of_colors_you_want

You can specify "col=..." only once time per IDL session.
Then, IDL will decide to use the shared colormap or a private
colormap. It depends on the number of free entries in the shared
map.

Now, on DEC-MOTIF 1.2-3 and SunOS 5.3, the private colormap seems
to be not correctly handle by IDL (see "Re: Problem with X
display" in this newsgroup)

Michel K.
[Message index]
 
Read Message
Previous Topic: arrays and polyfit
Next Topic: Using the most colors in tvscl

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

Current Time: Wed Oct 08 17:38:34 PDT 2025

Total time taken to generate the page: 0.00468 seconds