vline | R Documentation |
add vertical line on trace panel
vline(x, per = 1, COL = 1, NUM = FALSE, LAB = 1:length(x), lwd = 0, lty = 1)
x |
vector of x-locations |
per |
percent of window |
COL |
color |
NUM |
number lines |
LAB |
character labels |
lwd |
line width |
lty |
line type |
adds vertical lines to plot
Graphical side Effects
Jonathan M. Lees<jonathan.lees.edu>
plocator
plot(c(0,1), c(0,1), type='n')
vline(runif(4), COL ='red')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.