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

Home » Public Forums » archive » Re: color table trouble
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: color table trouble [message #14886 is a reply to message #14877] Fri, 02 April 1999 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
David Fanning (davidf@dfanning.com) writes:

> So if I
> want to write code that *always* works in *every*
> environment (and who among us doesn't?) then I have
> to wrap EVERY single TV command with something like
> this:
>
> CASE StrUpCase(!D.Name) OF
> 'WIN' : Device, Decomposed=1
> 'MAC' : Device, Decomposed=1
> 'X' : Device, Decomposed=1
> ELSE:
> ENDCASE
> TV, image24, TRUE=1
>
> Even at $100/hour I find it hard to type that much code
> each time I want to display an image. :-(

Kind of makes you want to download TVImage, which has just
had this functionality added to it, doesn't it. :-)

http://www.dfanning.com/programs/tvimage.pro

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@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
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Object-based slicer
Next Topic: Postscript output

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

Current Time: Sat Oct 11 23:20:20 PDT 2025

Total time taken to generate the page: 0.24015 seconds