Sha256: 69878d83f73382bbe2476184adef958f47d8db0780435ec8eb3b9a985e43cfa4

Contents?: true

Size: 374 Bytes

Versions: 11

Compression:

Stored size: 374 Bytes

Contents

#!/usr/bin/ruby
$:.unshift(File.dirname(__FILE__)+'/../lib/')
require 'statsample'
Statsample::Analysis.store(Statsample::Graph::Boxplot) do 
  n=30
  a=rnorm(n-1,50,10)
  b=rnorm(n, 30,5)
  c=rnorm(n,5,1)
  a.push(2)
  boxplot(:vectors=>[a,b,c],:width=>300, :height=>300, :groups=>%w{first first second}, :minimum=>0)
  
end

if __FILE__==$0
  Statsample::Analysis.run
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
statsample-1.5.0 examples/boxplot.rb
statsample-1.4.3 examples/boxplot.rb
statsample-1.4.2 examples/boxplot.rb
statsample-1.4.1 examples/boxplot.rb
statsample-1.4.0 examples/boxplot.rb
statsample-1.3.1 examples/boxplot.rb
statsample-1.3.0 examples/boxplot.rb
statsample-1.2.0 examples/boxplot.rb
statsample-1.1.0 examples/boxplot.rb
statsample-1.0.1 examples/boxplot.rb
statsample-1.0.0 examples/boxplot.rb