Learn R Programming

FREddyPro (version 1.0)

plotFingerprint: Plot a fingerprint graph

Description

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.

Usage

plotFingerprint(var, doy, hour, step = 2, xlab = "Hour", ylab="Day or Year", ...)

Arguments

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.

Examples

Run this code
## 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))

Run the code above in your browser using DataLab