Usage
## S3 method for class '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, ...)
Arguments
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 fivenum
representation of
the values. convention
string indicating whether to use meteorological convention
or oceanographic convention for the arrows that emanate from the centre
of the rose. In meteorological convenction, an arrow emanates towards
the right on the diagram if the
mgp
3-element numerical vector to use for 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.
mar
value to be used with par("mar")
. col
an optional list of colours to use. If not set, the colours will
be 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
...
optional arguments passed to plotting functions.