Learn R Programming

MDplot (version 0.3.1)

timeseries: General timeseries plotting function

Description

Plot one (or more) timeseries plots.

Usage

timeseries( tsData, printLegend = TRUE, snapshotsPerTimeInt = 1000, timeUnit = "ns", valueName = NA, valueUnit = NA, colours = NA, numberXLabels = 5, names = NA, legendPosition = "bottomright", barePlot = FALSE, ... )

Arguments

tsData
List of (alterating) indices and response values, as also produced by load_timeseries() for example.
printLegend
Boolean, which triggers plotting of the legend.
snapshotsPerTimeInt
Number, specifying how many snapshots are within one timeUnit.
timeUnit
Specifies, which unit the x-axis is given in.
valueName
Name of response variable.
valueUnit
Specifies, which unit the y-axis is given in.
colours
Vector of colours used for plotting.
numberXLabels
Specifies, how many ticks are used on the x-axis.
names
Vector of the names of the trajectories.
legendPosition
Indicate position of legend: either "bottomright", "bottomleft", "topleft" or "topright".
barePlot
Boolean, indicating whether the plot is to be made without any additional information.
...
Additional arguments (ellipsis).