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

Home » Public Forums » archive » Notable Coyote Program Updates
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: Notable Coyote Program Updates [message #73766 is a reply to message #73662] Mon, 29 November 2010 13:12 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Joe Zawodny writes:

> ... and I suppose combining the two with something like
>
> IDL> TVImage, image, NColors=12, Bottom=1, Color_Table=33
>
> would be asking for too much? I'm sure there is a good reason not to
> do this but, it is just an optional keyword after all.

It is not impossible to do, certainly. ScaleImage
in the Catalyst Library works like this, but there
an image is associated with colors and a coordinate
system, so it makes more sense to me.

I guess it is a philosophical thing. I believe in simple
tools for simple, everyday tasks. When I start thinking
for you, I become more like Microsoft Word than I really
care to be. TVImage doesn't really "know" about the image,
the way ScaleImage "knows" about the image. Because it is,
at heart a glorified TV command, TVIMAGE simply blasts pixels
onto the display.

I'd prefer to let you have some idea what you are doing
with color tables and let TVImage just feel like a smooth
plane in your hand. :-)

Cheers,

David

P.S. And, anyway, it is not just a COLOR_TABLE keyword.
It would have to be BREWER and REVERSE, too, to set up
colors the way I would like to set them up. :-)



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: event_pro for compound widgets
Next Topic: high quality 'old' direct graphics

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

Current Time: Wed Oct 08 16:09:08 PDT 2025

Total time taken to generate the page: 0.00375 seconds