Sha256: 461d06363191d2dea52416776d2f53147764b9920e9eee7c0dc5a2ca061003e0

Contents?: true

Size: 355 Bytes

Versions: 2

Compression:

Stored size: 355 Bytes

Contents

#!/usr/bin/ruby
$:.unshift(File.dirname(__FILE__)+'/../lib/')
$:.unshift('/home/cdx/dev/reportbuilder/lib/')

require 'benchmark'
require 'statsample'
n=100
a=n.times.map {|i| rand(10)+i}.to_scale
b=n.times.map {|i| rand(10)+i}.to_scale
sp=Statsample::Graph::Scatterplot.new(a,b, :width=>200, :height=>200)
rb=ReportBuilder.new
rb.add(sp)
puts rb.to_text

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
statsample-0.18.0 examples/scatterplot.rb
statsample-0.17.0 examples/scatterplot.rb