Adding a new CPT to the palette list

25 views
Skip to first unread message

Lester Anderson

unread,
Apr 20, 2016, 10:00:33 AM4/20/16
to mirone
Hello Joaquim,

I have made a new CPT file based on Haxby and listed as a continuous ramp. This can be loaded fine and used in Mirone, but it does not save it in the listing, or allow it to be saved in the list.

I can do makecpt in GMT 5.2.1 to use the new CPT file so that is all working.

Is there a file that needs to be updated to do this? Not a big issue.

Thanks
Lester


Joaquim Luis

unread,
Apr 20, 2016, 10:33:43 AM4/20/16
to mirone, Lester Anderson
Hi Lester,

Have a look at the file
......data/OPTcontrol.txt
lines 42-44


--
You received this message because you are subscribed to the Google Groups "mirone" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mirone+un...@googlegroups.com.
To post to this group, send email to mir...@googlegroups.com.
Visit this group at https://groups.google.com/group/mirone.
For more options, visit https://groups.google.com/d/optout.



Lester Anderson

unread,
Apr 20, 2016, 11:18:25 AM4/20/16
to Joaquim Luis, mirone
Hi Joaquim,

Sort of works, but only adds to the thematic section as it states. I
currently have the cpt file in the GMT5 cpt folder, so would be handy
if it could go into the GMT section of Mirone's cpt palette list.

I couldn't see a file to change this in Mirone, but there is a
gmt_cpt.conf file for GMT that can be edited to add new entries.

Thanks
Lester

Joaquim Luis

unread,
Apr 20, 2016, 11:38:17 AM4/20/16
to Lester Anderson, mirone
Nope, the cpt list is harwdired in the code. The only way of adding new
cpts is via that file mechanism.
Reply all
Reply to author
Forward
0 new messages