plot,windrose-method {oce} | R Documentation |
Plot a windrose Object
Description
Plot a windrose object.
Usage
## S4 method for signature 'windrose'
plot(
x,
type = c("count", "mean", "median", "fivenum"),
convention = c("meteorological", "oceanographic"),
mgp = getOption("oceMgp"),
mar = c(mgp[1], mgp[1], 1 + mgp[1], mgp[1]),
col,
debug = getOption("oceDebug")
)
Arguments
x |
a windrose object. |
type |
The thing to be plotted, either the number of counts in the angle
interval, the mean of the values in the interval, the median of the values, or
a |
convention |
String indicating whether to use meteorological convention or oceanographic convention for the arrows that emanate from the centre of the rose. In meteorological convection, an arrow emanates towards the right on the diagram if the wind is from the east; in oceanographic convention, such an arrow indicates flow to the east. |
mgp |
Three-element numerical vector to use for |
mar |
Four-element numerical vector to be used with |
col |
Optional list of colors to use. If not set, the colors will be
|
debug |
an integer specifying whether debugging information is
to be printed during the processing. This is a general parameter that
is used by many |
Author(s)
Dan Kelley
See Also
Other functions that plot oce data:
download.amsr()
,
plot,adp-method
,
plot,adv-method
,
plot,amsr-method
,
plot,argo-method
,
plot,bremen-method
,
plot,cm-method
,
plot,coastline-method
,
plot,ctd-method
,
plot,gps-method
,
plot,ladp-method
,
plot,landsat-method
,
plot,lisst-method
,
plot,lobo-method
,
plot,met-method
,
plot,odf-method
,
plot,rsk-method
,
plot,satellite-method
,
plot,sealevel-method
,
plot,section-method
,
plot,tidem-method
,
plot,topo-method
,
plot,xbt-method
,
plotProfile()
,
plotScan()
,
plotTS()
,
tidem-class
Other things related to windrose data:
[[,windrose-method
,
[[<-,windrose-method
,
as.windrose()
,
summary,windrose-method
,
windrose-class
Examples
library(oce)
set.seed(1234)
theta <- seq(0, 360, 0.25)
x <- 1 + cos(pi / 180 * theta) + rnorm(theta)
y <- sin(pi / 180 * theta) + rnorm(theta)
wr <- as.windrose(x, y)
plot(wr)
plot(wr, type = "fivenum")