highlight {wasim}R Documentation

Highlight an area in a plot

Description

Draws a number of colored rectangles into a plot.

Usage

highlight(x1,x2,yrange,col="yellow")

Arguments

x1 A vector of x values from which to start rectangles
x2 A vector of x values at which to end rectangles
yrange yrange the rectangel covers
col Drawing color

Value

Used for its side functions in a plot.

Author(s)

Dominik Reusser


[Package wasim version 1.0 Index]