Histogram2D.py - functions for handling two-dimensional histograms.

Author:
Release:$Id$
Date:December 09, 2013
Tags:Python
Histogram2D.Calculate(values, mode=0, bin_function=None)

Return a list of (value, count) pairs, summarizing the input values. Sorted by increasing value, or if mode=1, by decreasing count.

If bin_function is given, map it over values first.

Histogram2D.Print(h, bin_function=None)

print a histogram.

A histogram can either be a list/tuple of values or a list/tuple of lists/tuples where the first value contains the bin and second contains the values (which can again be a list/tuple).

Parameters:format – output format. 0 = print histogram in several lines, 1 = print histogram on single line

Previous topic

Histogram.py - Various functions to deal with histograms

Next topic

<no title>

This Page