class MoreMath::Histogram

def display(output = $stdout, width = 50)

+prepare_display+
Display this histogram to +output+, +width+ is the parameter for
def display(output = $stdout, width = 50)
  d = prepare_display(width)
  for l, bar, r in d
    output << "%11.5f -|%s\n" % [ (l + r) / 2.0, "*" * bar ]
  end
  self
end