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

Home » Public Forums » archive » Windows IDL DLM with Cygwin
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: window [message #46080 is a reply to message #44720] Wed, 02 November 2005 22:57 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ken Mankoff writes:

> I cannot replicate this. For me the default CT is grayscale with
> index 0 as black and 255 as white so color=250 is almost-white.
> Perhaps you are running a site-wide startup file that is
> initializing a CT for you with red at index 250?

Try this, you will see what he sees:

Device, Decomposed=1
Plot, indgen(11), Color=250

> If you want yellow/blue/green color you need to
> a) make sure they are in your colortable
> b) figure out where they are
> c) then use the color=(a number) syntax to access them.

Good advice for the 1970's, but the last time I looked
it was at least 2001. :-)

There are MUCH better ways to specify colors these days.
But why do we always have to roll our own!? Couldn't RSI
figure out a way to give us some simple drawing colors?

Cheers,

David

P.S. Sorry if I appear to be a little out of sorts.
It happens to me every time I teach an IDL class and
have to apologise all day long about windows that don't
resize, and colors that are incomprehensible, TV commands
that don't display images in color, etc, etc. Shouldn't
someone be paying attention to the essentials that people
use every day instead of dreaming up yet more iTool functionality
that no one I know wants to use? Just my 2 cents worth of ranting.
--

David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dilating at image boundaries
Next Topic: Re: Error in Object

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

Current Time: Fri Oct 10 19:35:00 PDT 2025

Total time taken to generate the page: 3.43722 seconds