Polyplot: Draw error shading

Description Usage Arguments Author(s) See Also

View source: R/paper-plotting-functions.R

Description

A wrapper function for the polygon function to draw error shadings (or confidence intervals) on a line plot.

Usage

1
Polyplot(x, y1, y2, col = "black", alpha = 0.2, ...)

Arguments

x

numeric vector of x values of the error band.

y1

numeric vector for the upper bound of the error band; must be of the same length as x.

y2

numeric vector for the lower bound of the error band; must be of the same length as x.

col

colour of the error band.

alpha

opacity factor for col within [0,1].

...

additional parameters which are passed to polygon.

Author(s)

Thomas Münch

See Also

polygon


EarthSystemDiagnostics/proxysnr documentation built on Oct. 2, 2021, 3:03 p.m.