![]() |
JKQTPlotter trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
|
Functions | |
| template<class InputItX, class InputItY, class OutputIt> | |
| void | jkqtpstatHistogram2D (InputItX firstX, InputItX lastX, InputItY firstY, InputItY lastY, OutputIt histogramImgOut, double xmin, double xmax, double ymin, double ymax, size_t xbins=10, size_t ybins=10, bool normalized=true) |
| calculate a 2-dimensional histogram from the given data range firstX / firstY ... lastY / lastY | |
|
inline |
calculate a 2-dimensional histogram from the given data range firstX / firstY ... lastY / lastY
| InputItX | standard iterator type of firstX and lastX. |
| InputItY | standard iterator type of firstY and lastY. |
| OutputIt | standard output iterator type used for the outliers output histogramXOut and histogramYOut, use e.g. std::back_inserter |
| firstX | iterator pointing to the first x-position item in the dataset to use | |
| lastX | iterator pointing behind the last x-position item in the dataset to use | |
| firstY | iterator pointing to the first y-position item in the dataset to use | |
| lastY | iterator pointing behind the last y-position item in the dataset to use | |
| [out] | histogramImgOut | output iterator that receives counts of the histogram bins in row-major ordering |
| xmin | position of the first histogram bin in x-direction | |
| xmax | position of the last histogram bin in x-direction | |
| ymin | position of the first histogram bin in y-direction | |
| ymax | position of the last histogram bin in y-direction | |
| xbins | number of bins in x-direction (i.e. width of the output histogram histogramImgOut ) | |
| ybins | number of bins in y-direction (i.e. height of the output histogram histogramImgOut ) | |
| normalized | indicates whether the histogram has to be normalized |