plot.vpi {bioRad}R Documentation

Plot an integrated profile (vpi)

Description

Plot an object of class vpi.

Usage

## S3 method for class 'vpi'
plot(
  x,
  quantity = "mtr",
  xlab = "time",
  ylab = "migration traffic rate [#/km/h]",
  main = "MTR",
  night_shade = TRUE,
  elev = -0.268,
  lat = NULL,
  lon = NULL,
  ylim = NULL,
  nightshade = TRUE,
  ...
)

Arguments

x

1 class object inheriting from class vpi, typically a call to integrate_profile.

quantity

Character string with the quantity to plot, one of

  • vid (vertically integrated density),

  • vir (vertically integrated reflectivity),

  • mtr (migration traffic rate),

  • rtr (reflectivity traffic rate),

  • mt ((cumulative) migration traffic),

  • rt ((cumulative) reflectivity traffic),

  • ff (height-averaged ground speed)

  • dd (height-averaged direction)

  • u (height-averaged u-component of ground speed),

  • v (height-averaged v-component of ground speed).

xlab

A title for the x-axis.

ylab

A title for the y-axis.

main

A title for the plot.

night_shade

Logical, whether to plot night time shading.

elev

Numeric, sun elevation to use for day/night transition, see sunrise.

lat

(optional) Latitude in decimal degrees. Overrides the lat attribute of x.

lon

(optional) Longitude in decimal degrees. Overrides the lon attribute of x.

ylim

y-axis plot range, numeric atomic vector of length 2.

nightshade

Deprecated argument, use night_shade instead.

...

Additional arguments to be passed to the low level plot plotting function.

Details

The integrated profiles can be visualized in various related quantities, as specified by argument quantity:

Value

No return value, side effect is a plot.

Examples

# vertically integrate a vpts object:
vpi <- integrate_profile(example_vpts)
# plot the migration traffic rates
plot(vpi)
# plot the vertically integrated densities, without night shading:
plot(vpi, quantity = "vid", night_shade = FALSE)

[Package bioRad version 0.7.3 Index]