Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

yline

Draw horizontal lines


Description

Adds horizontal lines in the plot region.

Usage

yline(y, ...)

Arguments

y

Values on y axis specifying location of vertical lines.

...

Any ploting options for abline.

See Also

xline, abline

Examples

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

Tools for Spatial Data

v11.6
GPL (>= 2)
Authors
Douglas Nychka [aut, cre], Reinhard Furrer [aut], John Paige [aut], Stephan Sain [aut], Florian Gerber [aut], Matthew Iverson [aut], University Corporation for Atmospheric Research [cph]
Initial release
2020-10-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.