add.map.bathy | R Documentation |
Add Map Bathymetry (shaded)
add.map.bathy(
map,
bathy,
refine = 0,
trim = T,
zlim = NULL,
pal = "greyscale",
n = 255,
rev = FALSE,
col.low = "",
col.high = "",
verbose = T
)
map |
a map object returned by the function make.map() |
bathy |
a bathymetric dataframe returned by get.map.bathy |
zlim |
the z-axis range that the colormap is projected upon |
pal |
the color palette used for coloring the shading. Should consist of a function name as a string |
n |
the number of distinct colors to use |
rev |
a boolean flag to flip the color axis |
col.low |
the color used when painting data that is below the zlim range. A value of NA causes the data not to be drawn, and a value of ” uses the lowest color value for out of range data. |
col.high |
same as col.low but for data that is out of range above the zlim. |
filled |
a flag to turn on color smoothing and filling from the OCE package. Works for some datasets but may cause issues. |
refinement |
the level of bilinear refinement to apply to the image grid |
Thomas Bryce Kelly
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.