Segment layer (x,y) to (xend,yend)

geom_segment(
  mapping = NULL,
  data = NULL,
  color = NULL,
  linewidth = NULL,
  alpha = NULL
)

Arguments

mapping, data, color, alpha

As in geom_point().

linewidth

Stroke width in px.

Value

A Layer.