Re: Fwd: How to make a non-symmetric color pallet around zero
Paul Wessel <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
In GMT5 see makecpt's new option -G for selecting just part of an incoming cpt range. You can then run makecpt twice; first for the negative values and you stretch those via your -Tmin/0/inc and then append the positive side stretched with -T0/max/inc, using -N during the first call. in GMT4 you'll need to do some awking. -p On Jan 7, 2014, at 12:53 PM, Shahar Barak <[email protected]> wrote: > Hi, > > I'm trying to plot a figure that shows velocity perturbations by color > (results of seismic tomography). I want values at zero and around zero > to be white, but I don't want the color pallet to be symmetric. The > minimum and maximum values are different. > In order to force white to be around zero I use grd2cpt with the -T > option, however this forces the color pallet to be symmetric. > Any ideas on how to accomplish this? I need it to be automated, i.e, > not by manually editing the CPT file. > > Thanks, > > Shahar > > To unsubscribe, send the message "signoff gmt-help" to [email protected] To unsubscribe, send the message "signoff gmt-help" to [email protected]