Skip to contents

Creates a visualization of state and point events from an aniframe::anievent() using geom_event_state() and geom_event_point(). Returns a patchwork object that can be combined with additional plots. The drawing itself is done by plot_events().

Usage

# S3 method for class 'anievent'
plot(x, ..., mode = c("light", "dark"))

Arguments

x

An anievent object.

...

Additional arguments passed to underlying plot functions.

mode

Either "light" (default) or "dark"; passed to theme_animovement().

Value

A patchwork object.

See also