unsupported X Window [message #16020] |
Tue, 22 June 1999 00:00  |
Ramin Sina
Messages: 4 Registered: March 1997
|
Junior Member |
|
|
Hi all,
I am a newbie in IDL. I have IDL 5.01 student Version on my SuSE linux
5.3 and I have a problem with making plots. When I start IDL, I get the
"IDL Development Window". But when I try to practice and play with the
synatx, I get the following error for making plots:
IDL> num =FLTARR(40)
IDL> line=SIN(num*!DTOR)
IDL> Plot, line
% Unsupported X Windows visual (class: StaticGray, depth: 0).
Substituting default (class: <UndefinedVisual>, Depth: 0).
% Execution halted at: $MAIN$
I have no problem with GUI stuff in any other application on my machine.
Does anyone know what could be wrong?
Many Thanks,
--
--------------------------------------------------------
Ramin Sina
http://www.concentric.net/~rsina
email: rsina@concentric.net
|
|
|
Re: unsupported X Window [message #16114 is a reply to message #16020] |
Mon, 28 June 1999 00:00  |
David R. Klassen
Messages: 14 Registered: December 1996
|
Junior Member |
|
|
Yep, this is the exact error I would get while running
in 16-bit mode. A pain IDL doesn't support it.
Peter Suetterlin wrote:
>
> In article <376FC0ED.89D3C8E0@io.harvard.edu>,
> Martin Schultz <mgs@io.harvard.edu> writes:
>
>> Ramin Sina wrote:
>>>
>>> % Unsupported X Windows visual (class: StaticGray, depth: 0).
>>> Substituting default (class: <UndefinedVisual>, Depth: 0).
>>> % Execution halted at: $MAIN$
>>>
>>
>> You are probably working with 32 bits colordepth which is not supported
>> by IDL.
>
> Did this really change? I'm using IDL 4.01 in 32bit ever since...
> It's true Hicolor (16bit) does not work, but 32 is fine for me.
>
> Peter
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
> Dr. Peter "Pit" Suetterlin http://www.astro.uu.nl/~suetter
> Sterrenkundig Instituut Utrecht
> Tel.: +31 (0)30 253 5225 P.Suetterlin@astro.uu.nl
> ____________________________________________________________ ______________
--
David R. Klassen
Department of Chemistry & Physics
Rowan University
201 Mullica Hill Road
Glassboro, NJ 08028
856-256-4500 x3273
http://elvis.rowan.edu/~klassen/
klassen@rowan.edu
|
|
|