Relies on output from get_ereefs_profile().

plot_ereefs_zvt(
  slice,
  var_name = "Chl_a_sum",
  scale_col = c("ivory", "hotpink"),
  scale_lim = NA
)

Arguments

slice

A list object as output by get_ereefs_profile(), containing dates, eta, z_grid, botz, and profile values.

var_name

Name of the variable to display from `slice$profiles`. If `slice$profiles` is a squeezed single-variable matrix, this is used only for the legend title.

scale_col

Colours to use for low and high values. Default c("ivory", "hotpink").

scale_lim

values for low and high limits of colourscale. Defaults to full range.

Value

p handle for the generated figure