tfplot {tframe} | R Documentation |
Plot tframe or tframed objects.
tfplot(x, ...) tfplot(x, ..., start.=NULL, end.=NULL, tf=NULL, series=seq(nseries(x)), Title=NULL, xlab=NULL, ylab=seriesNames(x), graphs.per.page=5, mar=par()$mar, reset.screen=TRUE) tfOnePlot(x, xlab=NULL, ylab=NULL, ...)
x |
a tframe or tframed object to plot. |
... |
any additional tframed objects for the same plot. |
start. |
start of plot. (passed to tfwindow) |
end. |
end of plot. (passed to tfwindow) |
tf |
a tframe or tframed object |
series |
series to be plotted. (passed to selectSeries) |
Title |
string to use for plot title. |
xlab |
string to use for x label (passed to plot). |
ylab |
string to use for y label (passed to plot). |
graphs.per.page |
integer indicating number of graphs to place on a page. |
mar |
margins passed to plot. See par.) |
reset.screen |
logical indicating if the plot window should be cleared before starting. If this is not TRUE then mar values will have no effect. |
In many cases these are the same as plot methods, however, tfplot puts
different series in the object x
in different plot panels, whereas
plot
usually puts them in the same panel. For this reason,
tfplot
tends to work better when the scale of the different series
are very different. If additional objects are supplied, then they should
each have the same number of series as x
and all corresponding series
will be plotted in the same panel.
tfplot
provides an alternate generic
mechanism for plotting time series data.
New classes of time series may define
there own tfplot
(and plot
) methods.
Note that the start and end arguments to tfplot are "start." and "end.". In some situations truncation works and these can be abreviated, but often it does not work and the error message is opague.
None.
tfprint
tframe
tframed
print
plot
tfplot(ts(rnorm(100), start=c(1982,1), frequency=12)) tfplot(ts(rnorm(100), start=c(1982,1), frequency=12), start.=c(1985,6))