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

Home » Public Forums » archive » IDL and color table allocation
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
IDL and color table allocation [message #5648] Thu, 18 January 1996 00:00
daniele is currently offline  daniele
Messages: 1
Registered: January 1996
Junior Member
(I hope this is not a FAQ....)

We have a DEC ULTRIX 5000/200 workstation, running IDL 4.0.1
We notice an unpleasant problem: colors are flashing when we go in and
out of the graphic window (X11). This is due to the fact that IDL
allocates a private colormap, separate from that of the window manager.
The depth of the display is 24 bits.

I have tried all models (pseudocolor, truecolor, ....) all kind of
selections of IDL colors (shared, non-shared), but with no result.
I have followed almost any suggestion from the IDL reference manual (in
the section for X display).
When IDL starts, it allocates always a private color table. And flashing
invariably occurs.
Sometimes IDL allocates 16M colors (the full 24 planes). This also
results in a mess in the color table selection: in this case the display
of the color table is wrong and completely useless.

Does anybody know how to force IDL to use the same color map of the
window manager (mwm) on an ULTRIX workstation with a graphic display
whose depth is 24 bits? And how to limit it to only 256 colors?
(using "idl.colors: [-]256" in the app-default file is not working...)

Thanks!

Daniele
--
-----------------------------------------------
Daniele Dal Fiume I "A few honest men are better than numbers" I
TeSRE - CNR I I
BOLOGNA - ITALY I O. Cromwell I
-----------------------------------------------
daniele@tesre.bo.cnr.it - +39 51 639 8668 - FAX: +39 51 639 8723
Istituto TeSRE/CNR - via Gobetti, 101 - 40129 BOLOGNA - ITALY
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Does anyone have IDL vgrindefs they'll share?
Next Topic: Plotting functions in IDL

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

Current Time: Wed Oct 08 11:51:04 PDT 2025

Total time taken to generate the page: 0.00533 seconds