Two dimensional histograms - GNU Scientific Library -- Reference Manual
Description: GNU Scientific Library -- Reference Manual

Next: The 2D histogram struct, Previous: Example programs for histograms, Up: Histograms

### 22.12 Two dimensional histograms

A two dimensional histogram consists of a set of bins which count the number of events falling in a given area of the (x,y) plane. The simplest way to use a two dimensional histogram is to record two-dimensional position information, n(x,y). Another possibility is to form a joint distribution by recording related variables. For example a detector might record both the position of an event (x) and the amount of energy it deposited E. These could be histogrammed as the joint distribution n(x,E).

The GNU Scientific Library - a free numerical library licensed under the GNU GPL
Back to the GNU Scientific Library Homepage