Skip to contents

Generate a line plot of a single time series (oscillogram).

Usage

plot_oscillo(
  ts,
  tzero = NULL,
  trange = NULL,
  ylim = "pm",
  title = NULL,
  size = 0.3,
  ...
)

Arguments

ts

A numeric time series object.

tzero

A numeric value indicating time shift (default: NULL).

trange

A numeric vector specifying time range to display.

ylim

Either 'pm' or a numeric vector of length 2.

title

A character string specifying the plot title.

size

A numeric value for line width (default: 0.3).

...

Additional arguments for ggplot2::geom_line.

Value

A ggplot object.