plot.NEMOdata: Plot a NEMO data on a map

Description Usage Arguments Author(s)

View source: R/plot.NEMOdata.R

Description

Plot method for NEMOdata objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'NEMOdata'
plot(
  x,
  limits = 40,
  type = "all",
  midpoints = c(temp = 7, depth = 1500, sal = 34.5),
  ncol = 1,
  base_size = 8,
  land.col = "grey80",
  ...
)

Arguments

x

NEMOdata object

limits

Map limits. See basemap. The option "auto" limits the map using coordinate range of x. Alternatively use a numeric vector as described in basemap documentation.

type

Character argument defining the types of model data to be plotted:

  • "depth" Depth data as raster

  • "temp" Temperature data as raster

  • "sal" Salinity data as raster

  • "all" All of the above

midpoints

Named vector defining the midpoints for color scales of plotted variables. See scale_colour_gradient.

ncol

Integer specifying the number of columns when all variables are plotted (type = "all").

base_size

Base size parameter for ggplot. See theme_bw.

land.col

Character code specifying the color of land.

...

Additional arguments passed to basemap.

Author(s)

Mikko Vihtakari


MikkoVihtakari/SuitableHabitat documentation built on Jan. 30, 2021, 12:50 a.m.