Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 548 Bytes

geom_step.md

File metadata and controls

35 lines (24 loc) · 548 Bytes

title: step author: Daniel Jones part: Geometry order: 1013 ...

Connect points using a stepwise function. Equivalent to Geom.line with Stat.step.

Aesthetics

  • x: Point x-coordinate.
  • y: Point y-coordinate.

Arguments

  • direction: Either :hv for horizontal then vertical, or :vh for vertical then horizontal.

Examples

using Gadfly

Gadfly.prepare_display()
Gadfly.set_default_plot_size(14cm, 8cm)
srand(1234)
plot(x=rand(25), y=rand(25), Geom.step)