plotOmbro: climate plots

Description Usage Arguments Examples

View source: R/plotOmbro.R

Description

Produce a climate plot from monthly mean temperature and total precipitations

Usage

1
2
plotOmbro(temp, prec, min = NA, max = NA, site = NA, alt = NA,
  Tmin = NA, H = NA, cex = 1)

Arguments

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

Examples

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)

Rekyt/divr documentation built on April 1, 2020, 5:35 a.m.