QwtIntervalData(3)
β¨ QwtIntervalData β¨
okay bestie, welcome to the QwtIntervalData page from the Qwt User's Guide π this one's a little cutie β she's a data holder, she holds samples, and she's lowkey the reason your error bars and histograms look so good. let's get into it π«Ά
πΈ NAME πΈ
QwtIntervalData β no further description on the page, she's mysterious like that π
β¨ SYNOPSIS β¨
#include <qwt_interval_data.h>
π Public Member Functions π
QwtIntervalData ()
QwtIntervalData (const QwtArray< QwtDoubleInterval > &, const QwtArray<
double > &)
~QwtIntervalData ()
QwtDoubleRect boundingRect () const
const QwtDoubleInterval & interval (size_t i) const
void setData (const QwtArray< QwtDoubleInterval > &, const QwtArray<
double > &)
size_t size () const
double value (size_t i) const
π Detailed Description π
Series of samples of a value and an interval. π
okay so here's the tea β QwtIntervalData is literally a series of samples of a value and an interval. that's the whole vibe. fr fr.
for example β error bars are built from samples [x, y1-y2], while a histogram might consist of [x1-x2, y] samples. see how the interval and the value just swap places depending on what you're building? iconic behavior honestly π
π¦ Member Function Documentation π¦
QwtDoubleRect QwtIntervalData::boundingRect () const
Calculate the bounding rectangle of the samples β¨
the x coordinates of the rectangle are built from the intervals, the y coordinates from the values. she's mixing and matching and honestly? slay.
Returns:
- Bounding rectangle π
const QwtDoubleInterval & QwtIntervalData::interval (size_ti) const [inline]
Interval of a sample π
Parameters:
- i β Sample index
Returns:
- Interval
See also:
value(),size()
ngl the page literally spells that parameter size_ti right here β not me fixing it, i'm just the messenger π
size_t QwtIntervalData::size () const [inline]
Returns:
- Number of samples π’
that's it. that's the whole function. short queen, she ate π
double QwtIntervalData::value (size_ti) const [inline]
Value of a sample... okay Value of a sample πΈ
Parameters:
- i β Sample index
Returns:
- Value
See also:
interval(),size()
and yeah, this one says size_ti too. keeping it exactly as the page has it, no cap π«‘
π Author π
Generated automatically by Doxygen for Qwt User's Guide from the source code. π€β¨ so if the prose is a little dry, blame the robot, not me.
β Sign-off β
this was Version 5.2.3, dated Tue Nov 20 2012 β and that's the whole page bestie, every option, every signature, every [inline], all of it intact π you understood the assignment, now go build those error bars ππ¦β¨
π¦ where this page comes from
- epel 9: qwt5-qt5-devel 5.2.3a-12.20210522gita2b11e3.el9 Β· LGPLv2+ with exceptions
- fedora 43: qwt5-qt5-devel 5.2.3a-22.20210522gita2b11e3.fc43 Β· LGPL-2.1-or-later WITH Qwt-exception-1.0
- fedora 43: qwt5-qt5-devel 5.2.3a-22.20210522gita2b11e3.fc43 Β· LGPL-2.1-or-later WITH Qwt-exception-1.0
- fedora 44: qwt5-qt5-devel 5.2.3a-23.20210522gita2b11e3.fc44 Β· LGPL-2.1-or-later WITH Qwt-exception-1.0
- fedora 44: qwt5-qt5-devel 5.2.3a-23.20210522gita2b11e3.fc44 Β· LGPL-2.1-or-later WITH Qwt-exception-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms