plotBBox
is a function to plot the results from
'rxtracto_3D'()' and 'rxtractogon()'
plotBBox(
resp,
plotColor = "viridis",
time = NA,
myFunc = NA,
mapData = NULL,
crs = NULL,
animate = FALSE,
cumulative = FALSE,
name = NA,
maxpixels = 10000
)
data frame returned from 'rxtracto_3D'()' or 'rxtractogon()'
the color to use in plot from 'cmocean'
a function to map multi-time to one, or else identity for animation
function of one argument to transform the data
map data from 'maps' or 'mapdata', must be of class 'map'
valid crs string
if multiple times, if TRUE will animate the maps
makes cumulative animation of data
name for colorbar label
maximum number of pixels to use in making the map - controls resolution
a 'plotdap' plot
## example code to download data for plotBBox
## dataInfo <- rerddap::info('erdMBsstd1day')
## parameter <- 'sst'
## xcoord <- c(230, 230.1)
## ycoord <- c(33, 33.1)
## tcoord <- c('2006-01-15', '2006-01-15')
## zcoord <- c(0., 0.)
## MBsst <- rxtracto_3D(dataInfo, parameter, xcoord = xcoord, ycoord = ycoord,
## tcoord = tcoord, zcoord = zcoord)
##
## low resolution selected to keep time to render down
# suppressWarnings(p <- plotBBox(MBsst, maxpixels = 50))