palette.echogram {echogram} | R Documentation |
Design color palettes for echograms
Description
This function allows to design and visualise color palettes to be used in echograms.
Usage
palette.echogram(Svthr = -70, Svmax = 0, col.sep = 1, scheme = "echov", visu = FALSE)
Arguments
Svthr |
lower visualisation limit in decibels (dB). |
Svmax |
upper visualisation limit in dB. |
col.sep |
separation between colors in dB. |
scheme |
color scheme for echogram, either: “echov” (the default) or “EK500”. It can also be a vector of valid color names. |
visu |
logical. If |
Details
This function is mainly intended to be called by plot.echogram
, however it is possible to use it directly in order to have a first impression of a custom color palette.
Value
A list with two elements
palette |
a vector of colors |
breaks |
a vector of color breaks |
Author(s)
Héctor Villalobos
See Also
Examples
palette.echogram()
palette.echogram(Svthr=-75, col.sep=1.5, scheme="EK500", visu=TRUE)
palette.echogram(Svthr=-81, col.sep=3, scheme=c("white", "blue", "black"), visu=TRUE)
[Package echogram version 0.1.2 Index]