oceanmap is a plotting toolbox for oceanographic data.
Visualizing data is a crucial step in analyzing and exploring data. During the last two decades the statistical programming language R has become a major tool for data analyses and visualization across different fields of science. However, creating figures ready for scientific publication can be a tricky and time consuming task.
oceanmap package provides some helpful functions to facilitate and optimize the visualization of geographic and oceanographic data, such as satellite and bathymetric data sets. Its plotting functions are written in a way that they do not require a large amount of their numerous arguments to be specified but still return nice plots. Its major functions are:
plotmap: plots landmask as basis or overlay
v: plots oceanographic data (fronts, SST, chla, bathymetry, etc.) from raster-objects, ncdf4- or gz-files
set.colorbar: adds a colorbar to current figure, allowing several placement methods
get.bathy: download bahymetric data at user defined resolution from the NOAA ETOPO1 database
add.region: generate region definitions to facilitate land mask and colorbar plotting using plotmap and v
figure & close_fig: generate and save graphic devices in flexible file formats (jpeg, png, eps, pdf and eps)
Check out some examples of the principle functions, listed above.
Robert K. Bauer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.