plot.TrDm: 'plot' methods for class 'TrDm'.

Description Usage Arguments Author(s)

View source: R/resultsFunctions.R

Description

plot methods for class 'TrDm'.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## S3 method for class 'TrDm'
plot(
  x,
  frame = 1,
  type = NULL,
  incThres = NULL,
  colorimages = NULL,
  cl = 1,
  path = NULL,
  name = "animation",
  libavpath = NULL,
  ...
)

Arguments

x

An object of class 'TrDm'.

frame

Choose which frame to be plotted. By default, frame=1.

type

Only for 'tracked' objects. By default, both trajectories and size distribution are plotted. Choose 'trajectories' to plot only trajectories on the original color image. Choose 'sizes' to only plot the particle size distribution. Choose 'animation' to create an .mp4 animation. Here, images are temporarily saved in path. Set name of file with argument name.

incThres

Minimum length of tracked segments for particles to be included. By default an automated threshold is calculated. Only for 'tracked' objects.

colorimages

Original color images. By default, original color images are obtained from the global environment.

cl

When plotting a subtracted background image, choose which color layer is plotted. By default, cl=1.

path

When creating an animation, choose directory in which images are saved temporarily, and where the animation should be saved.

name

of animation; by default 'animation'.

libavpath

Path to location where the executable file for libav can be found (named 'avconv.exe'), in case it is not found automatically, e.g. 'C:/Users/libav/usr/bin/avconv.exe'. Only required when creating an animation.

...

further arguments passed to plotRGB

Author(s)

Marjolein Bruijning, Caspar A. Hallmann & Marco D. Visser


marjoleinbruijning/trackdem documentation built on Sept. 29, 2021, 7:52 a.m.