geom_vline {ggplot2} R Documentation

Reference lines: horizontal, vertical, and diagonal

Description


These geoms add reference lines (sometimes called rules) to a plot,
either horizontal, vertical, or diagonal (specified by slope and
intercept). These are useful for annotating plots.

Usage

geom_vline(xintercept,
    color = "black",
    line.width = 2,
    linetype = Solid);

Arguments

xintercept

Parameters that control the position of the line. If these are set, data, mapping and show.legend are overridden. [as double]

color

-

line.width!

-

linetype

[as DashStyle]

Details

Authors

SMRUCC genomics institute

Value

this function returns data object of type ggplotLayer.

clr value class

Examples


[Package ggplot2 version 1.0.0.0 Index]