plot.attractor: Plot a strange attractor.

Description Usage Arguments Value

View source: R/plot.R

Description

Plot a strange attractor.

Usage

1
2
3
4
## S3 method for class 'attractor'
plot(x, palette = "BuPu", invert = FALSE,
  dims = c(600, 600), zero_colour = NA, trim_quantiles = 0,
  trans = "log1p", ...)

Arguments

x

Attractor, generated by attractor_sprott_7e()

palette

ColorBrewer palette. This value is passed to scales::col_numeric()

invert

If TRUE, inverts the colour scale

dims

Dimensions of matrix

zero_colour

Colour to use for zero and NA values

trim_quantiles

Numeric value, indicating a trim value. Quantiles below this value, as well as higher than (1 - trim_quantiles will be removed from data prior to plotting.

trans

Transforming function

...

Other options passed to plot()

Value

Raster, invisibly


andrie/attractor documentation built on May 13, 2019, 11:56 p.m.