Description Usage Arguments See Also Examples
Plot the time series of a "uts_vector"
. By default, the individual plots are superimposed, but they can also be plotted one at a time.
1 2 3 4 5 6 7 8 9 10 |
x |
a |
plot.type |
|
ask |
logical. If |
... |
graphical parameters passed to |
legend |
boolean. For |
legend.x, legend.y |
the x and y co-ordinates to be used to position the legend. See |
1 2 3 4 5 6 7 8 9 10 11 | # Plot multiple time series in a single canvas by superimposing the plots
plot(ex_uts_vector())
# Plot each time series separately
old <- par(mfrow=c(1, 2))
plot(ex_uts_vector(), plot.type="multiple")
par(old)
# Plot one time series at a time, waiting for user input before drawing the next plot.
# The names of time series are used as the main titles for the plots.
plot(ex_uts_vector(), plot.type="multiple", ask=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.