windrose
object, i.e. one inheriting from windrose-class
.
"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, ...)
windrose
object, e.g. inheriting from windrose-class
.fivenum
representation of the values.par(mgp)
, and also
for par(mar)
, computed from this. The default is tighter than the R
default, in order to use more space for the data and less for the axes.par("mar")
.c("red", "pink", "blue", "lightgray")
. For the first three types of
plot, the first colour in this list is used to fill in the rose, the third is
used for the petals of the rose, and the fourth is used for grid lines. For the
"fivenum"
type, the first colour is used for the inter-quartile range,
the second is used outside this range, the third is used for the median, and
the fourth is, again, used for the grid lines.oce
data: 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,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
,
plotProfile
, plotScan
,
plotTS
, tidem-class
Other things related to windrose
data: [[,windrose-method
,
[[<-,windrose-method
,
as.windrose
,
summary,windrose-method
,
windrose-class
library(oce)
opar <- par(no.readonly = TRUE)
xcomp <- rnorm(360) + 1
ycomp <- rnorm(360)
wr <- as.windrose(xcomp, ycomp)
par(mfrow=c(1,2))
plot(wr)
plot(wr, "fivenum")
par(opar)
Run the code above in your browser using DataLab