View source: R/vertical_profiles.R
plot_ereefs_profile | R Documentation |
Relies on output from get_ereefs_profile().
plot_ereefs_profile(
profileObj,
var_name = "Chl_a_sum",
target_date = c(2016, 1, 1),
p = NA,
colour = "blue"
)
profileObj |
A list object as output by get_ereefs_profiles(), containing dates, eta, z_grid, botz and profiles |
var_name |
The name of the variable to plot (must be a colname in profile$profiles). Default 'Chl_a_sum'. If profileObj contains only one variable, var_name is ignored and the content of the profile is shown. |
target_date |
The target date (plot the profile closest in time to this). |
p |
The handle of an existing figure, if you don't want to create a new figure |
the handle of a figure containing the vertical profile plot
## Not run:
plot_ereefs_profile(get_ereefs_profile('TN'))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.