Description Usage Arguments Examples
Produce a climate plot from monthly mean temperature and total precipitations
1 2 |
temp |
a numeric vector monthly mean temperatures (12 values) |
prec |
a numeric vector monthly total precipitations (12 values) |
min |
an numeric vector monthly minimal temperatures (12 values); optional, default value = NA |
max |
a numeric vector monthly maximal temperatures (12 values); optional, default value = NA |
site |
the site name character |
alt |
the site altitude; optional, default value = NA |
Tmin |
minimal value for the temperature y-axis; default value = NA |
H |
a two-column matrix describing the low water availability periods (start and end between 0 and 12); optional, default value = NA |
cex |
text size; default value = 1 |
1 2 3 4 5 6 | temp<-c(6.5,7.2,9.9,12.5,16.5,20.6,23.8,23.4,19.4,15.4,10.3,7.3)
min<-c(1.7,2,4.5,7.3,11.4,14.9,17.9,17.5,13.8,10.7,5.4,2.5)
max<-c(11.4,12.2,15.3,17.8,21.7,26.2,29.6,29.3,25.1,20.1,14.9,11.9)
prec<-c(67.9,64.1,40.6,66.3,54.1,35.4,20.4,40.3,105.1,113.9,85.7,87.7)
par(mar=c(3,3,1,3))
plotOmbro(temp,prec,min,max,site="Montpellier",alt=57)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.