Learn R Programming

RSEIS (version 2.1-6)

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)

Arguments

x
vector of x-locations
per
percent of window
COL
color
NUM
number lines
LAB
character labels
lwd
line width
lty
line type

Value

  • Graphical side Effects

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