Re: IDL with private colormap ? [message #6743] |
Fri, 02 August 1996 00:00 |
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.
|
|
|