|
QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
|
Sample for box-and-whisker plot (boxplot) visualization 更多...
#include <qwt_samples.h>
Public 成员函数 | |
| QwtBoxSample (double position=0.0) | |
| Default constructor | |
| QwtBoxSample (double position, double whiskerLower, double q1, double median, double q3, double whiskerUpper) | |
| Full constructor with all statistical values | |
| bool | isValid () const |
| Check if sample has valid ordering | |
| QwtInterval | boundingInterval () const |
| Get bounding interval including whiskers | |
| QwtInterval | boxInterval () const |
| Get box body interval (Q1 to Q3) | |
Public 成员函数 继承自 QwtStatisticalSample | |
| QwtStatisticalSample (double position=0.0) | |
| Default constructor | |
Public 属性 | |
| double | whiskerLower |
| Lower whisker endpoint | |
| double | q1 |
| First quartile (25th percentile) | |
| double | median |
| Median (50th percentile) - also stored in inherited 'center' field | |
| double | q3 |
| Third quartile (75th percentile) | |
| double | whiskerUpper |
| Upper whisker endpoint | |
| int | outlierCount |
| Number of outliers (stored separately, this is count only) | |
Public 属性 继承自 QwtStatisticalSample | |
| double | position |
| Position on the "time" axis (x for vertical, y for horizontal orientation) | |
| double | lower |
| Lower bound of the statistical range | |
| double | upper |
| Upper bound of the statistical range | |
| double | center |
| Central reference value | |
Sample for box-and-whisker plot (boxplot) visualization
Contains all statistical values needed to render a boxplot: whisker endpoints, quartiles, median, and outlier count. Actual outlier values are stored separately in QwtBoxOutlierSample.
|
inline |
Default constructor
All values set to 0.0
|
inline |
Full constructor with all statistical values
| position | Position on the axis |
| whiskerLower | Lower whisker endpoint |
| q1 | First quartile (25th percentile) |
| median | Median value (50th percentile) |
| q3 | Third quartile (75th percentile) |
| whiskerUpper | Upper whisker endpoint |
|
inline |
Get bounding interval including whiskers
|
inline |
Get box body interval (Q1 to Q3)
|
inline |
Check if sample has valid ordering
Returns true if whiskerLower <= q1 <= median <= q3 <= whiskerUpper