Learn R Programming

RSEIS (version 4.2-4)

vline: vertical line on trace panel

Description

add vertical line on trace panel

Usage

vline(x, per = 1, COL = 1, NUM = FALSE, LAB = 1:length(x), lwd = 0, lty = 1)

Value

Graphical side Effects

Arguments

x

vector of x-locations

per

percent of window

COL

color

NUM

number lines

LAB

character labels

lwd

line width

lty

line type

Author

Jonathan M. Lees<jonathan.lees.edu>

Details

adds vertical lines to plot

See Also

plocator

Examples

Run this code
plot(c(0,1), c(0,1), type='n')

vline(runif(4),  COL ='red')


Run the code above in your browser using DataLab