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

Home » Public Forums » archive » Re: Problem with X display
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: Problem with X display [message #6691 is a reply to message #6683] Sun, 28 July 1996 00:00 Go to previous message
c71801 is currently offline  c71801
Messages: 2
Registered: February 1994
Junior Member
Liam Gumley (liamg@ssec.wisc.edu) wrote:
: MICHEL KRUGLANSKI wrote:
: > I work on a DEC alpha station 600 with a ZLXPE2 24-planes graphic card.
: > I use either IDL or PV-WAVE.
: > I have a problem when I try to use 256 colors.
: > idl (or wave)
: > > print,!d.n_colors
: > 256
: > > window,col=256
: > > print,!d.n_colors
: > 16777216
:
: In IDL, try this immediately after startup:
: device,pseudo=8
: window,colors=256
: print,!d.n_colors
: Note that the 'device' command as shown and the 'colors' keyword to 'window'
: only have an effect before any windows are opened. Once set, these
: options remina set for the rest of the IDL session.
: Cheers,
: Liam.

you can also include the lines

idl.depth: 8
idl.visual: PseudoColor

in your .Xdefaults or .Xresources file. (in case you are using the X device)
idl should now start with PseudoColor as the default visual class and with 256 colors.
try 'help,/dev' and 'print,!d.n_colors' to look if this works.

hermann
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DXF
Next Topic: Re: reading a series of image files

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

Current Time: Wed Oct 08 17:58:42 PDT 2025

Total time taken to generate the page: 0.00432 seconds