View source: R/plot_variables_at_depth.R
plot_variables_at_depth | R Documentation |
Exports ggplot2 object(s) of variables at depth over time
plot_variables_at_depth(
dat.tidy,
plot.title = "",
color.palette = NULL,
date.breaks.major = NULL,
date.breaks.minor = NULL,
date.labels.format = NULL,
standard.DO.ylims = TRUE,
alpha.points = 1,
legend.name = "Depth (m)",
legend.position = "right"
)
dat.tidy |
Data in tidy format, as returned by the function
|
plot.title |
Title for plot. Default is no title. |
color.palette |
Color palette of hex colors onto which |
date.breaks.major |
Intervals for major breaks. Default is selected by
|
date.breaks.minor |
Intervals for minor breaks. Default is
|
date.labels.format |
Format for the date labels. Default is "%y-%b" (two-digit year-three-letter month). |
standard.DO.ylims |
If |
alpha.points |
Value indicating the transparency of the points. 0 is most transparent; 1 is opaque. |
legend.name |
Name for the legend. Must be a character string. Default
is |
legend.position |
Position for the legend. Passed to |
Returns ggplot2 object, a single figure with the plots for each
variable in tidy.data
stacked in a column is returned.
Danielle Dempsey
Other plot:
get_colour_palette()
,
get_xaxis_breaks()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.