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
|
Enumerations | |
enum class | JKQTPStatHistogramBinXMode { JKQTPStatHistogramBinXMode::XIsLeft , JKQTPStatHistogramBinXMode::XIsMid , JKQTPStatHistogramBinXMode::XIsRight } |
defines where the returned x-coordinates (in histogramXOut) lie inside a histogram bin More... | |
Functions | |
template<class InputIt , class BinsInputIt , class OutputIt > | |
void | jkqtpstatHistogram1D (InputIt first, InputIt last, BinsInputIt binsFirst, BinsInputIt binsLast, OutputIt histogramXOut, OutputIt histogramYOut, bool normalized=true, bool cummulative=false, JKQTPStatHistogramBinXMode binXMode=JKQTPStatHistogramBinXMode::XIsLeft) |
calculate an autoranged 1-dimensional histogram from the given data range first ... last, bins defined the range binsFirst ... binsLast | |
template<class InputIt , class OutputIt > | |
void | jkqtpstatHistogram1DAutoranged (InputIt first, InputIt last, OutputIt histogramXOut, OutputIt histogramYOut, double binWidth, bool normalized=true, bool cummulative=false, JKQTPStatHistogramBinXMode binXMode=JKQTPStatHistogramBinXMode::XIsLeft) |
calculate an autoranged 1-dimensional histogram from the given data range first ... last, bins defined by their width | |
template<class InputIt , class OutputIt > | |
void | jkqtpstatHistogram1DAutoranged (InputIt first, InputIt last, OutputIt histogramXOut, OutputIt histogramYOut, int bins=11, bool normalized=true, bool cummulative=false, JKQTPStatHistogramBinXMode binXMode=JKQTPStatHistogramBinXMode::XIsLeft) |
calculate an autoranged 1-dimensional histogram from the given data range first ... last, bins defined by their number | |
|
strong |
|
inline |
calculate an autoranged 1-dimensional histogram from the given data range first ... last, bins defined the range binsFirst ... binsLast
InputIt | standard iterator type of first and last. |
BinsInputIt | standard iterator type of binsFirst and binsLast. |
OutputIt | standard output iterator type used for the outliers output histogramXOut and histogramYOut, use e.g. std::back_inserter |
first | iterator pointing to the first item in the dataset to use | |
last | iterator pointing behind the last item in the dataset to use | |
binsFirst | iterator pointing to the first item in the set of histogram bins | |
binsLast | iterator pointing behind the last item in the set of histogram bins | |
[out] | histogramXOut | output iterator that receives x-positions of the histogram bins. Location of this value inside the bin range is defined by binXMode |
[out] | histogramYOut | output iterator that receives counts/frequencies of the histogram bins |
normalized | indicates whether the histogram has to be normalized | |
cummulative | if true , a cummulative histogram is calculated | |
binXMode | defines where the returned x-coordinates (in histogramXOut) lie inside the histogram bin (see JKQTPStatHistogramBinXMode) |
|
inline |
calculate an autoranged 1-dimensional histogram from the given data range first ... last, bins defined by their width
InputIt | standard iterator type of first and last. |
OutputIt | standard output iterator type used for the outliers output histogramXOut and histogramYOut, use e.g. std::back_inserter |
first | iterator pointing to the first item in the dataset to use | |
last | iterator pointing behind the last item in the dataset to use | |
[out] | histogramXOut | output iterator that receives x-positions of the histogram bins. Location of this value inside the bin range is defined by binXMode |
[out] | histogramYOut | output iterator that receives counts/frequencies of the histogram bins |
binWidth | width of the bins | |
normalized | indicates whether the histogram has to be normalized | |
cummulative | if true , a cummulative histogram is calculated | |
binXMode | defines where the returned x-coordinates (in histogramXOut) lie inside the histogram bin (see JKQTPStatHistogramBinXMode) |
|
inline |
calculate an autoranged 1-dimensional histogram from the given data range first ... last, bins defined by their number
InputIt | standard iterator type of first and last. |
OutputIt | standard output iterator type used for the outliers output histogramXOut and histogramYOut, use e.g. std::back_inserter |
first | iterator pointing to the first item in the dataset to use | |
last | iterator pointing behind the last item in the dataset to use | |
[out] | histogramXOut | output iterator that receives x-positions of the histogram bins. Location of this value inside the bin range is defined by binXMode |
[out] | histogramYOut | output iterator that receives counts/frequencies of the histogram bins |
bins | number of bins in the output histogram | |
normalized | indicates whether the histogram has to be normalized | |
cummulative | if true , a cummulative histogram is calculated | |
binXMode | defines where the returned x-coordinates (in histogramXOut) lie inside the histogram bin (see JKQTPStatHistogramBinXMode) |