streamlines: Functions for drawing phase-plane dynamics

Description Usage Arguments Examples

View source: R/PP.R

Description

Functions for drawing phase-plane dynamics

Usage

1
2
3
4
5
6
7
streamlines(
  dynamics,
  domain = list(x = c(0, 1), y = c(0, 1)),
  n = 10,
  nsteps = 10,
  stepsize = 0.05
)

Arguments

dynamics

a list containing two one-sided formulas specifying the dynamics, e.g. list(~ x + y, ~ y - x)

domain

list of two vectors specifying domain of the initial points of each streamline Vector of length 2 specifying the domain

n

number of arrows to draw on a side. $n^2$ will be the number of arrows overall.

Examples

1
streamlines(list(~ u+v, ~ u - v), stepsize=0.01, n=20)

dtkaplan/mosaicUSAFA documentation built on Aug. 21, 2021, 10:37 p.m.