Function extra::stats::write_boxplot

pub fn write_boxplot(w: @std::io::Writer, s: &Summary, width_hint: uint)

Render a boxplot to the provided writer. The boxplot shows the min, max and quartiles of the provided Summary (thus includes the mean) and is scaled to display within the range of the nearest multiple-of-a-power-of-ten above and below the min and max of possible values, and target width_hint characters of display (though it will be wider if necessary).

As an example, the summary with 5-number-summary (min=15, q1=17, med=20, q3=24, max=31) might display as:

  10 |        [--****#******----------]          | 40