[Thread Prev][Thread Next][Index]

Re: [ferret_users] Customized palette



Hi Andy,

Thanks! But that (percentage method) only works when you use
lev=(-a,a,b). If 0 is not in the middle of your value range, it does not
work to show 0 as white.

Tony

On Thu, 2010-10-21 at 08:59 -0600, Andy Jacobson wrote:
> Hi Tony,
> 
> Did you try light_centered.spk or white_centered.spk?  If you don't like those, my memory is that you can define a palette with just three colors (white and the two endpoints), and ferret will interpolate.
> 
> -Andy
> 
> 
> On Wed 20 Oct 2010, at 19:31 , Jian Ma wrote:
> 
> > Hi All,
> > 
> > There are 3 methods in Ferret to define new pal files. However, I found
> > no way to define one like this:
> > 
> > White near 0, dark red on maximum, and blue on minimum.
> > 
> > I know I can use blue_darkred to achieve this when I have proper level
> > values or change the percentage values in the pal file, but is there any
> > method to make a universal pal file to self adjust correctly about 0? 
> > 
> > The last method is to write a fortran program to generate files, given
> > particular level values.
> > 
> > Many thanks,
> > Tony
> > 
> > 
> 



[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement