Description Usage Arguments Author(s) Examples
View source: R/plotFingerprint.r
Plots a variable with day of year on the y-axis and the hour of the day on the x-axis. It produces the commonly used fingerprint plot.
1 2 | plotFingerprint(var, doy, hour, step = 2, xlab = "Hour",
ylab="Day or Year", ...)
|
var |
Variable to be plotted. |
doy |
The day of the year variable. |
hour |
The hour of the day variable. |
step |
The length between y-axis tics. Defaule is 2 days. |
xlab |
The label of the x-axis |
ylab |
The label of the y-axis |
... |
Further graphical parameters for the filled.contour() plot. |
Georgios Xenakis
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Close any previously open graphic devices
graphics.off()
## Load the data
data(fluxes)
## Clean the fluxes
fluxes=cleanFluxes(fluxes,sdCor=TRUE,sdTimes=3,timesList=3,distCor=TRUE,
thresholdList=list(H=c(-100,1000),LE=c(-100,1000)))
## Plot the fingerprint plot
plotFingerprint(fluxes$co2_flux,fluxes$yday,fluxes$hour,step=1,main='CO'[2]~' flux',
key.title=title(main="umol m"^2~"s"^-1~"",adj=0.2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.