xyplot
for Trellis plotting
of time series or signals.
as.trellis.data.frame.series(x, ..., xlim=NULL, ylim=NULL, plot.type=NULL, x.axis.args=NULL, y.axis.args=NULL, scales=NULL, log.axes="c", complex.convert=Mod, layout=NULL, frame.call=sys.nframe(), frame.function=frame.call) as.trellis.data.frame.signal(x, ..., xlim=NULL, ylim=NULL, x.axis.args=NULL, y.axis.args=NULL, scales=NULL, layout=NULL, log.axes="c", magnitude=F, phase=F, real=F, im=F, dB=F, type="l", frame.call=sys.nframe(), frame.function=frame.call)
x
values to use for plotting.
y
values to use for plotting.
"lines"
,
"hloc"
, and
"stackbar"
for
plotting lines/points, high-low-open-close bars, and stacked bars respectively.
axis.numeric
(for signal)
or
axis.time
(for time series) functions for customizing the x-axis.
axis.numeric
function for
customizing the y-axis.
x
and
y
components for passing into the
scales
argument of
xyplot
. Typically, this is used to make the
x
or
y
axes for each panel have separate scales, by setting the
x
or
y
component of
scales
to
list(relation="free")
.
c(2,3)
for a
two-row, three-column layout.
TRUE
, create a panel with the magnitude of the
y
values.
TRUE
, create a panel with the phase of the
y
values.
TRUE
, create a panel with the real part of the
y
values.
TRUE
, create a panel with the imaginary part of the
y
values.
TRUE
, create a panel with a dB plot (y values are converted to dB by
taking
10 * log10(Mod(y))
).
"p"
,
"l"
,
"b"
,
"o"
,
"n"
,
"s"
, and
"h"
produce points, lines, both, both (overlaid),
nothing, stairsteps, and high-density lines, respectively.
This can also be a vector giving the type for each set of
y
coordinates.
sys.call
and
deparse(substitute())
in to figure out data set names (passed to
parse.time.series.dotargs
or
parse.signal.dotargs
).
sys.function
in to figure out the plot function
arguments (passed to
parse.time.series.dotargs
or
parse.signal.dotargs
).
xyplot
for Trellis plotting.
These functions are meant to be called from
trellisPlot.timeSeries
and
trellisPlot.signalSeries
, to calculate a data frame containing
ordered factor columns encoding the series name, plot type, and other
information, which is then rendered in the
panel.t
function.