Re: MakeCPT RGB
Paul Wessel <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
makecpt -Fr -T0/6/1 -Crainbow works fine. This is GMT5. -p On Apr 10, 2014, at 8:59 AM, J.J. Green <[email protected]> wrote: > Hi Matthew, > >> I am trying to generate a cpt file in RGB, but keep getting it in HSV >> format. >> >> My command is 'makecpt --COLOR_MODEL=RGB -T0/6/1 -Crainbow > sample.cpt' >> >> I found this from a while back which indicates my problem, but I cannot >> seem to find a fix: >> http://comments.gmane.org/gmane.comp.gis.gmt.user/6683 > > From the man-page: (4.5.7) > > The color model (RGB, HSV or CMYK) of the palette created by makecpt > will be the same as specified in the header of the master > cpt file. When there is no COLOR_MODEL entry in the master cpt > file, the COLOR_MODEL specified in the .gmt‐defaults4 file or on > the command line will be used. > > so it sounds like the flag does not do what you expect it to. > > You could, perhaps, use one of the rainbow palettes on cpt-city: > > http://soliton.vm.bytemark.co.uk/pub/cpt-city/ > > for example > > http://soliton.vm.bytemark.co.uk/pub/cpt-city/oc/tn/rainbow.png.index.html > > cheers > > Jim > -- > J.J. Green, Seaview Sensing Ltd., > http://seaviewsensing.com > > To unsubscribe, send the message "signoff gmt-help" to [email protected] To unsubscribe, send the message "signoff gmt-help" to [email protected]