require 'statsample' include Statsample::Shorthand n = 100 x = rnorm(n) y = x + rnorm(n,0.5,0.2) Statsample::Graph::Scatterplot.new(x,y)