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

Home » Public Forums » archive » 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 #6695 is a reply to message #6694] Fri, 26 July 1996 00:00 Go to previous messageGo to previous message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
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.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: a BUG or not a BUG in IDL ?
Next Topic: Visual Numerics Web News

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

Current Time: Sun Oct 12 17:37:32 PDT 2025

Total time taken to generate the page: 1.20312 seconds