xline: Draw a vertical line

Description Usage Arguments See Also Examples

Description

Adds vertical lines in the plot region.

Usage

1
xline(x, ...)

Arguments

x

Values on x axis specifying location of vertical lines.

...

Any ploting options for abline.

See Also

yline, abline

Examples

1
2
3
4
5
6
7
plot( 1:10)
xline( 6.5, col=2)
 
world( col=3) 
yline( seq( -80,80,10),col=4, lty=2)
xline( seq( -180,180,10),col=4,lty=2)
yline( 0, lwd=2, col=4)

fields documentation built on June 7, 2017, 1:02 a.m.

Search within the fields package
Search all R packages, documentation and source code