plot,met-method {oce} | R Documentation |
Plot a met Object
Description
Creates a multi-panel summary plot of data measured in a meteorological data
set. cast. The panels are controlled by the which
argument.
Usage
## S4 method for signature 'met'
plot(x, which = 1:4, mgp, mar, tformat, debug = getOption("oceDebug"))
Arguments
x |
a met object. |
which |
list of desired plot types.
|
mgp |
A 3-element numerical vector used with |
mar |
A 4-element numerical vector used with |
tformat |
optional argument passed to |
debug |
an integer specifying whether debugging information is
to be printed during the processing. This is a general parameter that
is used by many |
Details
If more than one panel is drawn, then on exit from plot.met
, the
value of par
will be reset to the value it had before the function
call. However, if only one panel is drawn, the adjustments to par
made within plot.met
are left in place, so that further additions may
be made to the plot.
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,odf-method
,
plot,rsk-method
,
plot,satellite-method
,
plot,sealevel-method
,
plot,section-method
,
plot,tidem-method
,
plot,topo-method
,
plot,windrose-method
,
plot,xbt-method
,
plotProfile()
,
plotScan()
,
plotTS()
,
tidem-class
Other things related to met data:
[[,met-method
,
[[<-,met-method
,
as.met()
,
download.met()
,
met-class
,
met
,
read.met()
,
subset,met-method
,
summary,met-method
Examples
library(oce)
data(met)
plot(met, which = 3:4)
# Wind speed and direction during Hurricane Juan
# Compare with the final figure in a white paper by Chris Fogarty
# (available at http://www.novaweather.net/Hurricane_Juan_files/McNabs_plot.pdf
# downloaded 2017-01-02).
library(oce)
data(met)
t0 <- as.POSIXct("2003-09-29 04:00:00", tz = "UTC")
dt <- 12 * 3600
juan <- subset(met, t0 - dt <= time & time <= t0 + dt)
par(mfrow = c(2, 1))
plot(juan, which = 5)
abline(v = t0)
plot(juan, which = 6)
abline(v = t0)