Usage
"plot"(x, pts = 1000, time = NULL, type = "s", col = 1,
xlab = "Time (s)", ylab = "Current (pA)",
main = paste("Segment ", x$index, " at ", x$level, " mV [", x$comment, "]", sep = ""),
...)
Arguments
x
An abf2split
object returned by split.abf2
.
pts
The maximum number of sample points to plot. If the segment actually contains
fewer samples than this, that smaller number will be plotted. If, as is more common, the
segment contains many more samples, it is downsampled to this number of points.
time
Optional specifier of a time range to be plotted. By default the full segment is used. If a single numeric
value is provided here, it specifies the end time, with the plot starting from the beginning of the segment.
Otherwise the segment is plotted from the time[1]
to time[2]
.
type
The plot type (see plot
). By default, traces are drawn with the stair-step style "s".
col
The colour with which the trace should be plotted.
xlab
Label for the x-axis of the plot.
ylab
Label for the y-axis of the plot.
main
Main title for the plot.
...
Additional parameters passed to plot
.