Draw lines between points in the order they appear in the data. This is an alias for Geom.line with
x: X-axis position.
y: Y-axis position.
color(optional): Group categorically by color.
Here's a random walk in 2D:
n = 500 srand(1234) xjumps = rand(n)-.5 yjumps = rand(n)-.5 plot(x=cumsum(xjumps),y=cumsum(yjumps),Geom.path())
Here's a spiral:
t = 0:0.2:8pi plot(x=t.*cos(t), y=t.*sin(t), Geom.path)