| Stupid color question [message #38890] |
Wed, 07 April 2004 06:21 |
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 |
+-------------------+--------------------------------------- ------------+
|
|
|
|