clim_plot | R Documentation |
'.gz'
-file climatologiesCreates climatology plots of '.gz'
-files. ATTENTION! This function requires an ImageMagick installation, but runs also under Windows operating systems.
clim_plot(obj, folder,plotfolder=".", plotname, question=T, sst.frontcolor='red',
chla.frontcolor='blue', sidelabels = F, Ylab = F, axeslabels = T, v_area, ...)
obj |
Character string indicating search criteria for climatology |
folder |
directory where data files are located (optional). |
plotfolder |
directory where image should be saved. |
plotname |
the name of the output file. If not provided, value will be derived from |
question |
whether the user shall be informed about the number of figures to plot before running the procedure (default is |
chla.frontcolor |
color map to be plotted for chlorophyll fronts (default is blue; obtained from cmap-dataset) |
sst.frontcolor |
color map to be plotted for sea surface temperature fronts (default is red; obtained from cmap-dataset) |
sidelabels |
whether an additional y-axis label and title should be added to the plot device (default is |
Ylab |
an additional title for the y axis (default is date information), only used when |
axeslabels |
whether axeslabels should be shown (default is |
v_area |
character string identifying the region that should be plotted, or in case of |
... |
Additional arguments to be passed to v and plotmap (e.g. |
Robert K. Bauer
v, readbin, name_split, regions, plotmap
## Example 1: plot seasonal '.gz'-files, following default plot-procedure
path <- system.file("test_files", package="oceanmap")
gz.file <- Sys.glob(paste0(path,'/*.gz'))[1] # load sample-'.gz'-files
check_gzfiles(folder=path) # return file summary-table
gz.files <- Sys.glob(paste0(path,'/*1s_*.gz')) # load seasonal '.gz'-files
# v(gz.files) # as single plots
## as combined climatology plot, saved in plotfolder
# clim_plot(gz.files,plotname='chla.summary.png')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.