Skip to contents

Draws the region \(|r(z)| < 1\) of the stability function of a Runge-Kutta tableau in the complex plane with base graphics (the DiffEqDevTools plot recipe). With order_star = TRUE it draws the order star \(|r(z) / e^z| < 1\) instead.

Usage

# S3 method for class 'Tableau'
plot(
  x,
  dx = 1/100,
  dy = 1/100,
  xlim = c(-6, 1),
  ylim = c(-5, 5),
  order_star = FALSE,
  embedded = FALSE,
  col = c("white", "gray60"),
  ...
)

Arguments

x

A Runge-Kutta tableau.

dx, dy

Grid spacing.

xlim, ylim

Plot ranges of the real and imaginary parts.

order_star

Plot the order star.

embedded

Use the embedded method.

col

Fill colors of the outside and inside of the region.

...

Passed to graphics::image().

Value

Invisibly x.

Examples

plot(constructTsit5ExplicitRK(), dx = 0.1, dy = 0.1)