View source: R/fl_colorscales.R
| fl_topocolorscale | R Documentation |
This function will create a lovely, evenly spaced colour palette designed for use with bathymetry plots.
fl_topocolorscale(v)
v |
Expects a single negative numeric value. This should be the maximum depth of the bathymetry. |
A list containing two vectors. First the numeric breaks (brks) that will
be shown as different isobath colours. Second the colours (colors) that will be shown. The
colours are given as hexadecimal values.
Bernard Gentili
fl_topocolorscale(-200)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.