yline: Draw horizontal lines

Description Usage Arguments See Also Examples

Description

Adds horizontal lines in the plot region.

Usage

1
yline(y, ...)

Arguments

y

Values on y axis specifying location of vertical lines.

...

Any ploting options for abline.

See Also

xline, abline

Examples

1
2
3
4
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)

Example output

Loading required package: spam
Loading required package: dotCall64
Loading required package: grid
Spam version 2.1-1 (2017-07-02) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction 
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.

Attaching package: 'spam'

The following objects are masked from 'package:base':

    backsolve, forwardsolve

Loading required package: maps

fields documentation built on June 25, 2021, 5:08 p.m.

Related to yline in fields...