Re: How do I adapt a color pallet to my data

Paul Wessel <[email protected]>
Newsgroups gmane.comp.gis.gmt.user
Message-ID <[email protected]>
Depends on if you are plotting grids or tables.
For grids you could use grd2cpt to stretch the cpt to file that grid range.
For tables you can use gmt info -T... for getting a suitable -T option to use with makecpt.

Unfortunately there is no tutorial on how to make or use cpt files, but as my class progresses there will be a podcast on iTunes University discussing it in a few weeks.

-p

On Feb 13, 2014, at 1:28 PM, Shahar Barak <[email protected]> wrote:

> Hi,
> 
> I have a color pallet (downloaded from the internet) which I like, in which the colors are associated with a range of values.
> How do I:
> 
> (1) Use the cpt for different datasets, but have the colors always correspond to the same value, no matter which dataset I am displaying.
> 
> (2) Use the cpt for the different datasets, and always see the entire range of colors in the cpt, no matter which dataset I am displaying. i..e, in this case the colorbar will be the same, but the values will be different.
> 
> When I use makecpt, with the range of my data, it doesn't give me the whole range of colors available in the master cpt file.
> 
> Is there an online tutorial for using cpt's in GMT?
> 
> 
> Thanks,
> 
> Shahar 
> To unsubscribe, send the message "signoff gmt-help" to [email protected]

To unsubscribe, send the message "signoff gmt-help" to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.