cl_PlotData: Plots the data returned by function 'cl_GetData()' or...

Description Usage Arguments Value Examples

View source: R/cl_PlotData.R

Description

Functions cl_GetData() or cl_Transect() return a list; plot differ depending on the field type of this list :

"Point"

no plot

"LonTransect"

variables are plotted vs longitude

"LatTransect"

variables are plotted vs latitude

"Area"

geographic maps of the variables are produced

"Transect"

variables are plotted vs the distance traveled from the first vertex of the polygonal line

Usage

1
cl_PlotData(x, vertices = NULL)

Arguments

x

: [list] a list returned by function cl_GetData()

vertices

: [list] a polygonal line that represents a transect; each element of this list is a geographic point, i.e. a vector of length 2 (longitude, latitude); default is NULL; this argument is only used if type is "Area" in order to add a transect to the maps. N.B. : function cl_Transect() has an optional argument (plt) to plot the transect on the maps.

Value

Examples

1
## See function \code{cl_GetData()} examples

jpgattuso/CoastalLight documentation built on June 25, 2021, 5:34 p.m.