plot_map.Rd
Plots a map figure in the same format as would be given by map_ereefs(), but using a pre-generated dataframe, instead of processing data directly from ereefs netcdf files. Doesn't work for true_color maps.
A dataframe in the format required by geom_plot(), as provided by map_ereefs() or map_ereefs_movie().
Character vector to use for the figure title.
Units to include in the figure labelling.
Set to TRUE to show a land mapof Queensland. Default now FALSE.
Vector of colours to use for the colour scale. This can be colours from the ggplot colour palette or a RGB hash code, or "spectral". Ignored for true_colour plots. If set to "spectral", uses a colour spectrum from bluish to red (similar to jet but less vivid). Otherwise: If one value is given (other than "spectral"), low colour is set to ivory and high colour to the value given. If two values are given, these are used as low and high limit colours. If three values are given, the middle value is used to set the mid-point of the scale. Defaults to c('ivory', 'coral4').
Upper and lower bounds for colour scale. Defaults to full range of data. Ignored for true_colour plots.
Handle for an existing figure if you want to add a layer instead of creating a new figure. If p is provided, Land_map is over-ridden and set to FALSE.
Set to TRUE if you don't want the plots generated and saved. Defaults to TRUE.
p Handle for the figure generated.
if (FALSE) {
a <- plot_map(p)
plot_map(a[[2]])
}