QwtIntervalData(3)

πŸ“¦ version 5.2.3a, in epel 9, fedora 43, fedora 44

✨ 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