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

Home » Public Forums » archive » Re: Sorry! I made a mistake.
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: Sorry! I made a mistake. [message #30374] Fri, 26 April 2002 21:41 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Weiqun Zhang (zhang@ucolick.org) writes:

> In the .Xdefaults file, I should put "idl.gr_visual: TrueColor" instead
> of "idl.gr_visual: True". Now it works. But there is still a problem I
> don't understand.
> (1) Which command is correct? "device, true=24" or "device,
> TrueColor=24". In David Fanning's book, it is "device, TrueColor=24".
> But I got error like this,
> IDL> window
> IDL> device, TrueColor=24
> % Keyword TRUECOLOR not allowed in call to: DEVICE
> I won't get error from "device, true=24", but it doesn't work.

It's DEVICE, TRUE_COLOR=24, of course. But, since keywords
can be abbreviated to as few a letters as makes them unique
for the command, most people use DEVICE, TRUE=24 in practice.

The fact that this isn't working is a worry. :-(

Are you certain you are executing this command *before*
you open a graphics window?

Cheers,

David

P.S. I'm pretty sure I corrected this typo in the book. Do you
happen to know what page you saw it on? :-)

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Re: completely reset PostScript device between plots?
Next Topic: Sorry! I made a mistake.

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

Current Time: Sun Oct 12 11:21:35 PDT 2025

Total time taken to generate the page: 0.72262 seconds