Description Usage Arguments Details Value See Also Examples
Plots cross-section velocities given an object of class "adcp.secondary"
1 |
data |
An object of class "adcp.secondary" |
x |
Parameter to be plotted |
transects |
A list of transects to be plotted, if missing all transects are plotted |
... |
Arguments to be passed to plot.xSec.default. |
Use transects argument to subset data by transect, may produce error if data is subset prior to being supplied to function.
A list of levelplot plots. Transect names contained within the dataset are used to name each element (i.e., plot) within the list.
plot.xSec.default, levelplot, process.secondary.
1 2 3 4 5 6 7 8 9 10 11 | data(mNine)
#mNine is a list of MATLAB files
names(mNine)
#Drop the last letter (l or r) from the MATLAB file names
tNames <- substr(names(mNine), 0, nchar(names(mNine))-1)
adcp.secondary <- process.secondary(mNine, tNames, rotation = c("xSec", "rozovskii", "zeroSecQ"), xWindow = 21, yWindow = 5)
secondaryQ.zsq <- plot.xSec(adcp.secondary, vp.zsq)
#Display first cross-section
secondaryQ.zsq[[1]]
#Alternatively
secondaryQ.zsq$t1
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.