vlines: Add vertical or horizontal lines to a plot

Description Usage Arguments Author(s) Examples

View source: R/plotting.r

Description

Add vertical or horizontal lines to a plot

Usage

1
2
3
vlines(x, lend = 1, ...)

hlines(y, lend = 1, ...)

Arguments

x

Coordinates of vertical lines.

lend

Line ending style, see par.

...

Sent to segments.

y

Coordinates of horizontal lines.

Author(s)

Christofer Bäcklin

Examples

1
2
3
plot(0:10, 0:10, type="n")
hlines(0:4*2.5, col="#dddddd")
points(0:10, 0:10)

emil documentation built on Aug. 1, 2018, 1:03 a.m.

Related to vlines in emil...