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

Home » Public Forums » archive » Re: XLOADCT does not do anything in IDL for Windows 95
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
Re: XLOADCT does not do anything in IDL for Windows 95 [message #13655] Fri, 20 November 1998 00:00
Joe[2] is currently offline  Joe[2]
Messages: 11
Registered: May 1998
Junior Member
Make sure you have a line like:

device,decomposed=0

in your startup file. Or, enter it at the command prompt prior
to doing anything with the very first graphics window.

J M Zawodny

> I am evaluating IDL 5.1 for windows 95. I am very familiar with IDL 4.0 for
> the SGI unix platform. I see that XLOADCT does nothing in Windows 95. Why
is
> this? and what is the alternative?
>
>
> --
> *********************************************************
> *********************************************************
>
> Paul R. Harvey Ph.D.
>
> home email:- harveypr@isracom.co.il
> work email:- paul@mri.elscint.co.il
> home page :- http://www.geocities.com/CapeCanaveral/9469/
>
> *********************************************************
> *********************************************************
>
>
Re: XLOADCT does not do anything in IDL for Windows 95 [message #13661 is a reply to message #13655] Fri, 20 November 1998 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Paul R. Harvey (harveypr@isracom.co.il) writes:

> I am evaluating IDL 5.1 for windows 95. I am very familiar with IDL 4.0 for
> the SGI unix platform. I see that XLOADCT does nothing in Windows 95. Why is
> this? and what is the alternative?

This is getting to be a bit redundant, isn't it? I have
a modest suggestion: Why not make Device, Decomposed=0
the default and let people who want true 24-bit color set
it by typing Device, Decomposed=1. Then people going to
24-bit color for the first time wouldn't be so darn
confused all the time. :-)

Try this:

IDL> Device, Decomposed=0

Your Windows machine is set up in 16-bit or 24-bit color.
You will want to learn a little about what that means to
you. Lot's of good information about colors in IDL on my
web page. :-)

Cheers,

David

P.S. An alternative to XLOADCT is XCOLORS from my
web page. It is just a little bit smarter than
XLOADCT (although I see that XLOADCT is catching
up a bit in the newest versions).

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Progamming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155

[Note: This follow-up was e-mailed to the cited author.]
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: multiple plots with different ranges
Next Topic: Re: 32 bit crashes IDL

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

Current Time: Wed Oct 08 20:03:38 PDT 2025

Total time taken to generate the page: 0.01960 seconds