View source: R/makeSeasonPlot.R
makePlot | R Documentation |
Make a seasonal plot, save to a specific path.
makePlot( surface, species, season, maxCol = NULL, coordArgs = NULL, pngSaveFileName = NULL, ... )
surface |
array data presented in a 3-column dataframe |
species |
species name (character) to include in title and file path |
season |
season name (character) to specify plot color and file path. Defaults to muted red for "Summer" and muted blue for other seasons. |
maxCol |
color (character) to overwrite season argument, sets maximum color. |
coordArgs |
optional coordinate arguments to populate coord_sf. |
pngSaveFileName |
optional (character) file name to which to save plot. |
... |
Aesthetic arguments to populate ggplot2::geom_tile(). Suggested use might include "x=x,y=y,fill=value" or similar, depending on the column names of the 'surface' parameter. |
a ggplot object
surface2df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.