Skip to contents

Plot diffusion as circes on the spatial domain.

Usage

plotmomo.dif(
  x,
  cor = NULL,
  col = "black",
  alpha = 0.5,
  lwd = 1,
  main = "Diffusion",
  plot.land = FALSE,
  keep.gpar = FALSE,
  add = FALSE,
  xlab = "x",
  ylab = "y",
  xaxt = "s",
  yaxt = "s",
  bg = NULL,
  ...
)

Arguments

x

a list of class momo.sim or momo.fit.

cor

scaling parameter for the arrows. By default (NULL), not used.

col

color of lines. Default: "black".

alpha

Transparency value. Default: 0.5.

lwd

line width. Default: 1.

main

a main title for the plot. Default: "Diffusion".

plot.land

logical; If TRUE, plot land masses using the function maps::map. Default: FALSE.

keep.gpar

logical; If TRUE, do not overwrite the graphical parameters. Default: FALSE.

add

logical; if TRUE, no new graphical window is created and tags are added to existing graphical window. Default: FALSE.

xlab

a label for the x axis. Default: "x".

ylab

a label for the y axis. Default: "y".

xaxt

A character which specifies the x axis type. Specifying ‘"n"’ suppresses plotting of the axis. The standard value is "s": for compatibility with S values "l" and "t" are accepted but are equivalent to "s": any value other than "n" implies plotting.

yaxt

A character which specifies the y axis type. Specifying "n" suppresses plotting.

bg

background color of the graphical window. By default (NULL), background is transparent.

...

additional arguments for the function plot.

select

optional; allows to select specific time steps. Default: NULL.

average

logical; if TRUE (default), plots the average diffusion over the selected time steps.

Value

Nothing.