plotStreamlines: plotStreamlines

plotStreamlinesR Documentation

plotStreamlines

Description

Plot the estimated vectorfields as streamlines using the metR package

Usage

plotStreamlines(
  VF,
  features,
  display.image = T,
  size.arrow = 1.5,
  surface = T,
  color_stream = "black",
  n = NULL,
  dt = NULL,
  grid = c(50, 50),
  gamma.u = 0.2,
  gamma.v = 0.2,
  arrow.angle = 25,
  arrow.length = 0.6,
  min.L = 2,
  L = 50,
  color.extern = NULL,
  res = 2,
  pt.size = 3,
  pt.alpha = 0.8,
  S = 10,
  jitter = 1,
  skip = 2.5,
  xwrap = NULL,
  ywrap = NULL
)

Arguments

VF

Data.frame estimated bei the SPATAwrappers::runVectorFields function

color_stream

Color of the stream lines

n

optional numeric indicating the number of points to draw in the x and y direction (replaces skip if not NULL)

dt

optional numeric size "timestep" for integration

grid

The grid size for estimation

gamma.u, gamma.v

Gamma for stream estimation

arrow.angle

Angle for arrows

min.L

minimum length of segments to show

L

typical length of a streamline in x and y units

color.extern

Add extra external colors (the colname of the external numeric feature, needs to be in VF data.frame)

res

resolution parameter (higher numbers increases the resolution)

pt.size

Numeric pointsize

pt.alpha

Numeric Alpha of points

S

optional numeric number of timesteps for integration

jitter

parameters passed to grid::arrow

skip

numeric specifying number of gridpoints not to draw in the x and y direction

xwrap, ywrap

vector of length two used to wrap the circular dimension.

Author(s)

Dieter Henrik Heiland


heilandd/SPATAwrappers documentation built on Oct. 2, 2022, 1:40 p.m.