Geom.line
Aesthetics
x: X-axis position.y: Y-axis position.group(optional): Group categorically.color(optional): Group categorically and indicate by color.
Arguments
preserve_order: Default behavior forGeom.lineis to draw lines between points in order along the x-axis. If this option is true, lines will be drawn between points in the order they appear in the data.Geom.path()isGeom.line(preserve_order=true).
Examples
plot(dataset("lattice", "melanoma"), x="Year", y="Incidence", Geom.line)
plot(dataset("Zelig", "approval"), x="Month", y="Approve", color="Year", Geom.line)