plot_series | R Documentation |
simple function to plot series data quickly.
plot_series( s, show_gaps = TRUE, new = TRUE, points = TRUE, lines = TRUE, pch = 16, cex = 0.5, col.lines = "black", col.points = "black", col.gaps = col.lines, ylim, gap_plotting_buffer = 0.15, ylab = "Depth (meters)", xlab = "", axes = TRUE, ... )
s |
a series data stream or a dataframe approximating one. requires columns numeric |
show_gaps |
boolean defaults to TRUE. If TRUE, will print blocks at the top of the plotting area to indicate data gaps. |
new |
boolean defaults to TRUE. draw a new plot if this is TRUE otherwise draw on whatever you have up. |
points |
boolean defaults to TRUE. draw points. |
lines |
boolean defaults to TRUE. draw lines. |
pch, cex |
just reasonable defaults do whatever you want. |
col.lines |
color of the lines if drawn. |
col.points |
color of the points if drawn. |
... |
all the other good plotting stuff. gets passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.