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

Home » Public Forums » archive » Re: using tvscl??
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: using tvscl?? [message #13099] Mon, 12 October 1998 00:00
Alex Schuster is currently offline  Alex Schuster
Messages: 124
Registered: February 1997
Senior Member
Jonas wrote:

> I do not know how you should change the IDL settings in order to do this
> every time. However, until someone comes up with a better solution you could
> use this line (assuming array of dimension 2):
> tvscl, max(array)-array

It's even simpler: tvscl, -array does the same.

The other idea would be the usage of an inverse color table like this:

tvlct, r, g, b, /get
tvlct, reverse(r), reverse(g), reverse(b)

Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
Re: using tvscl?? [message #13102 is a reply to message #13099] Sun, 11 October 1998 00:00 Go to previous message
Jonas is currently offline  Jonas
Messages: 23
Registered: May 1998
Junior Member
Anil Kochhar skrev i meddelandet ...
> Hi
> I'd like to switch this so that the imnage is displayed as black on white.
> Could someone tell me what the correct command is?
>
> Thanks
> Anil
>
> P.S. Please reply to my email address.
>
>
Hi!
I do not know how you should change the IDL settings in order to do this
every time. However, until someone comes up with a better solution you could
use this line (assuming array of dimension 2):
tvscl, max(array)-array

greetings
Jonas
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Postcript Output in Object Graphics
Next Topic: Re: Printing color line-plots on non-PS printers...

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

Current Time: Wed Oct 08 19:05:04 PDT 2025

Total time taken to generate the page: 0.00734 seconds