Home »
Public Forums »
archive »
[Q] Colormaps and setting !D.N_COLORS
[Q] Colormaps and setting !D.N_COLORS [message #6926] |
Fri, 30 August 1996 00:00 |
dover
Messages: 2 Registered: June 1996
|
Junior Member |
|
|
Hello.
I am using IDL and I am having it write into a window that
I created in X. This works fine. However, I am now trying
to control the colormap that the window is using. This
works fine under X but when IDL tries to write into it IDL
seems to revert back to the default colormap. I have been
able to solve some of the problem by using the
DEVICE, SET_TRANSLATION command but IDL does not see the
correct number of colors. I think if I were able to set
the !D.N_COLORS and !D.TABLE_SIZE system variables I would
be able to get by this problem. IDL seems to think that
it can only use that many colors to draw effectively
reducing the number of colors seen. An even better
solution probably would be to be able to instruct IDL to
use my colormap.
I need to use a custom colormap and using a standard
colormap is not an acceptable solution.
Any ideas?
Thanks
Benjamin Bielak
dover@world.std.com
|
|
|
Current Time: Wed Oct 08 17:35:16 PDT 2025
Total time taken to generate the page: 0.00399 seconds