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

Home » Public Forums » archive » Stupid color question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Stupid color question [message #38890] Wed, 07 April 2004 06:21
Bruce Bowler is currently offline  Bruce Bowler
Messages: 128
Registered: September 1998
Senior Member
It's time for another stupid color question...

I have an 2d array of data that I want to display. Currently I do it with
the following...

tv, bytscl(glocal, min = 0, max = maxval)

There are 2 allowable negative values, that are, as a result of the bytscl
set to "0" in the display. What I'd like to do is have those 2 negative
values displayed with the 2 lowest colors in the color table and then
scale the values from 0 to maxval across the remaining colors. I'm sure I
could write my own bytscl-like routine to do that, but if it's already
been done or is available in 5.6 already...

Thanks!
Bruce

--
+-------------------+--------------------------------------- ------------+
Bruce Bowler | In the future everyone will be famous for 15
1.207.633.9600 | minutes. - Andy Warhol
bbowler@bigelow.org |
+-------------------+--------------------------------------- ------------+
[Message index]
 
Read Message
Previous Topic: Re: read and plot ascii data file
Next Topic: Re: GUI procedure to function

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

Current Time: Sat Nov 29 14:40:57 PST 2025

Total time taken to generate the page: 0.16360 seconds