Psscale, gr2cpt, makecpt?

View: New views
2 Messages — Rating Filter:   Alert me  

Psscale, gr2cpt, makecpt?

by Nicolas Le Corvec :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm trying to create a figure using a DEM (Zmin= 218 to Zmax=591).

I managed so far to arrange the pre-existing *.cpt but I would like to
divide the Zrange in 20, and assign a specific color to each one of them
(I have the colour codes for each range).

I'm a bit lost with the different commands. Can I make my proper scale
or do I have to change the pre-existing *.cpt files.

Thank you very much!

nicolas

PS: I'll appreciate a more distinctive answer than "look into the
cookbook" (since I'm new user, and I'm using GMT on windows).
--
Nicolas Le Corvec
PhD Candidate
School of Geography, Geology & Environmental Science
The University of Auckland
Private Bag 92019
Auckland 1142
New Zealand

Ph: +64-9-373-7599 ext 89323
Fax: +64-9-373-7435
------------------------------------------------------

To unsubscribe, send the message "signoff gmt-help" to listserv@...

Re: Psscale, gr2cpt, makecpt?

by Paul Wessel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can make a cpt file by hand if you'd like (e.g., Notepad).  Or you  
can run makecpt on any existing cpt that has the colors you like and  
specify a different range and interval.  Many of the online examples  
that display images (e.g., ex 2, 16, 17, 18, 19, ...) creates cpt  
files on the fly.

Cheers,
Paul


On Nov 2, 2009, at 1:54 PM, Nicolas Le Corvec wrote:

> Hi,
>
> I'm trying to create a figure using a DEM (Zmin= 218 to Zmax=591).
>
> I managed so far to arrange the pre-existing *.cpt but I would like  
> to divide the Zrange in 20, and assign a specific color to each one  
> of them (I have the colour codes for each range).
>
> I'm a bit lost with the different commands. Can I make my proper  
> scale or do I have to change the pre-existing *.cpt files.
>
> Thank you very much!
>
> nicolas
>
> PS: I'll appreciate a more distinctive answer than "look into the  
> cookbook" (since I'm new user, and I'm using GMT on windows).
> --
> Nicolas Le Corvec
> PhD Candidate
> School of Geography, Geology & Environmental Science
> The University of Auckland
> Private Bag 92019
> Auckland 1142
> New Zealand
>
> Ph: +64-9-373-7599 ext 89323
> Fax: +64-9-373-7435
> ------------------------------------------------------
>
> To unsubscribe, send the message "signoff gmt-help" to listserv@...

To unsubscribe, send the message "signoff gmt-help" to listserv@...