col2cpt | R Documentation |
Make a GMT color ramp file (.cpt)
col2cpt(
nmin = 0,
nmax = 1,
clist = c("lightcyan", "royalblue", "blue", "lemonchiffon", "orange", "red"),
outfile = "mycol.cpt",
length = 100
)
nmin |
numeric minimum of the ramp |
nmax |
numeric maximum of the ramp |
clist |
catenated color list |
outfile |
outpur filename (.cpt) |
length |
number of segments between min and max |
I love GMT. No other reason for this to be in here.
a .cpt file
Benjamin Galuardi
Wessel, P., Smith, W.H.F., Scharroo, R., Luis, J., and Wobbe, F. 2013. Generic Mapping Tools: Improved Version Released. Eos, Transactions American Geophysical Union 94(45): 409–410. doi:10.1002/2013EO450001. http://gmt.soest.hawaii.edu/doc/latest/index.html
col2cpt(nmin = 0, nmax = 40, clist = c("lightcyan", "royalblue", "blue", "lemonchiffon", "orange", "red"), outfile = 'my_colors.cpt', length=100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.