Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
On Tue, 13 Jan 2004, Jay Parsons wrote: > Thanks, I got the color table and ColorControl to work > in my app. > > I would like to control which values are then assigned > to each color. > For example, my min=0 and max=10 > and I have 6 colors in my table c[3][6] > > can I map > > color - c0 c1 c2 c3 c4 c5 > value - 0 .1-1 1.1-3 3.1-5 5.1-7 7.1+ > > > Can I use the setFunction method in ColorControl to > for this? Yes, but you can do it with setTable() too. You just need to figure out the linear mapping between your precipitation values and your table entries. Be prepared to experiment a little. Good luck, Bill
visad
archives: