QwtPlot(3)
π NAME π
QwtPlot β that's the whole name section bestie, the manpage literally just says the name and then nothing π iconic minimalism fr
β¨ okay context drop: this page lives in the Qwt User's Guide, section 3 (library calls, iykyk), and it's part 1 of 3 so buckle up, we are NOT done π«Ά
π¦ SYNOPSIS π¦
#include <qwt_plot.h>
Inherits QwtPlotDict. π
β¨ Public Types β¨
enum Axis { yLeft, yRight, xBottom, xTop, axisCnt }enum LegendPosition { LeftLegend, RightLegend, BottomLegend, TopLegend, ExternalLegend }
π Public Slots π
void autoRefresh ()virtual void clear ()virtual void replot ()
π Signals π
void legendChecked (QwtPlotItem *plotItem, bool on)void legendClicked (QwtPlotItem *plotItem)
πΈ Public Member Functions πΈ
QwtPlot (QWidget *=NULL)QwtPlot (const QwtText &title, QWidget *p=NULL)virtual ~QwtPlot ()void applyProperties (const QString &)bool autoReplot () constbool axisAutoScale (int axisId) constbool axisEnabled (int axisId) constQFont axisFont (int axisId) constint axisMaxMajor (int axisId) constint axisMaxMinor (int axisId) constconst QwtScaleDiv * axisScaleDiv (int axisId) constQwtScaleDiv * axisScaleDiv (int axisId)const QwtScaleDraw * axisScaleDraw (int axisId) constQwtScaleDraw * axisScaleDraw (int axisId)QwtScaleEngine * axisScaleEngine (int axisId)const QwtScaleEngine * axisScaleEngine (int axisId) constdouble axisStepSize (int axisId) constQwtText axisTitle (int axisId) constconst QwtScaleWidget * axisWidget (int axisId) constQwtScaleWidget * axisWidget (int axisId)QwtPlotCanvas * canvas ()const QwtPlotCanvas * canvas () constconst QColor & canvasBackground () constint canvasLineWidth () constvirtual QwtScaleMap canvasMap (int axisId) constvirtual void drawCanvas (QPainter *)void enableAxis (int axisId, bool tf=true)virtual bool event (QEvent *)QString grabProperties () constvoid insertLegend (QwtLegend *, LegendPosition=QwtPlot::RightLegend, double ratio=-1.0)double invTransform (int axisId, int pos) constQwtLegend * legend ()const QwtLegend * legend () constint margin () constvirtual QSize minimumSizeHint () constQwtPlotLayout * plotLayout ()const QwtPlotLayout * plotLayout () constvirtual void polish ()void print (QPaintDevice &p, const QwtPlotPrintFilter &=QwtPlotPrintFilter()) constvirtual void print (QPainter *, const QRect &rect, const QwtPlotPrintFilter &=QwtPlotPrintFilter()) constvoid setAutoReplot (bool tf=true)void setAxisAutoScale (int axisId)void setAxisFont (int axisId, const QFont &f)void setAxisLabelAlignment (int axisId, Qt::Alignment)void setAxisLabelRotation (int axisId, double rotation)void setAxisMaxMajor (int axisId, int maxMajor)void setAxisMaxMinor (int axisId, int maxMinor)void setAxisScale (int axisId, double min, double max, double step=0)void setAxisScaleDiv (int axisId, const QwtScaleDiv &)void setAxisScaleDraw (int axisId, QwtScaleDraw *)void setAxisScaleEngine (int axisId, QwtScaleEngine *)void setAxisTitle (int axisId, const QString &)void setAxisTitle (int axisId, const QwtText &)void setCanvasBackground (const QColor &c)void setCanvasLineWidth (int w)void setMargin (int margin)void setTitle (const QString &)void setTitle (const QwtText &t)virtual QSize sizeHint () constQwtText title () constQwtTextLabel * titleLabel ()const QwtTextLabel * titleLabel () constint transform (int axisId, double value) constvoid updateAxes ()virtual void updateLayout ()
π Protected Slots π
virtual void legendItemChecked (bool)virtual void legendItemClicked ()
π οΈ Protected Member Functions π οΈ
virtual void drawItems (QPainter *, const QRect &, const QwtScaleMap maps[axisCnt], const QwtPlotPrintFilter &) constvirtual void printCanvas (QPainter *, const QRect &boundingRect, const QRect &canvasRect, const QwtScaleMap maps[axisCnt], const QwtPlotPrintFilter &) constvirtual void printLegend (QPainter *, const QRect &) constvirtual void printLegendItem (QPainter *, const QWidget *, const QRect &) constvirtual void printScale (QPainter *, int axisId, int startDist, int endDist, int baseDist, const QRect &) constvirtual void printTitle (QPainter *, const QRect &) constvirtual void resizeEvent (QResizeEvent *e)virtual void updateTabOrder ()
β Static Protected Member Functions β
static bool axisValid (int axisId)
π DETAILED DESCRIPTION π
A 2-D plotting widget. Yes ma'am, that's the whole vibe. π
QwtPlot is a widget for plotting two-dimensional graphs. You can stack an unlimited number of plot items on its canvas, no cap. Those plot items might be curves (QwtPlotCurve), markers (QwtPlotMarker), the grid (QwtPlotGrid), or literally anything else derived from QwtPlotItem. π¦
A plot can have up to four axes, and each plot item gets attached to an x- and a y axis. The scales at the axes can be explicitly set (QwtScaleDiv), or they're calculated from the plot items using algorithms (QwtScaleEngine) that you can configure separately for each axis. Periodt.
π Example π
The following example shows (schematically) the most simple way to use QwtPlot. By default, only the left and bottom axes are visible and their scales are computed automatically.
#include <qwt_plot.h>
#include <qwt_plot_curve.h>
QwtPlot *myPlot = new QwtPlot("Two Curves", parent);
// add curves
QwtPlotCurve *curve1 = new QwtPlotCurve("Curve 1");
QwtPlotCurve *curve2 = new QwtPlotCurve("Curve 2");
// copy the data into the curves
curve1->setData(...);
curve2->setData(...);
curve1->attach(myPlot);
curve2->attach(myPlot);
// finally, refresh the plot
myPlot->replot();
π§ MEMBER ENUMERATION DOCUMENTATION π§
enum QwtPlot::Axis
Axis index π β that's the description, it's just "Axis index":
yLeftyRightxBottomxTop
enum QwtPlot::LegendPosition
Position of the legend, relative to the canvas. πΈ
LeftLegendThe legend will be left from theyLeftaxis.RightLegendThe legend will be right from theyLeftaxis.BottomLegendThe legend will be right below thexBottomaxis.TopLegendThe legend will be betweenxTopaxis and the title.ExternalLegendExternal means that only the content of the legend will be handled byQwtPlot, but not its geometry. This might be interesting if an application wants to have a legend in an external window ( or on the canvas ).
π¨ Note: In case ofExternalLegend, the legend is not printed byprint().
β¨ See also: insertLegend()
πΌ CONSTRUCTOR & DESTRUCTOR DOCUMENTATION πΌ
QwtPlot::QwtPlot (QWidget *parent = NULL) [explicit]
Constructor. π
Parameters:
parentβ Parent widget
QwtPlot::QwtPlot (const QwtText &title, QWidget *parent = NULL) [explicit]
Constructor. π
Parameters:
titleβ Title textparentβ Parent widget
π MEMBER FUNCTION DOCUMENTATION π
void QwtPlot::applyProperties (const QString &)
This method is intended for manipulating the plot widget from a specific editor in the Qwt designer plugin.
β οΈ Warning: The plot editor has never been implemented. π so like... it's giving aspirational
bool QwtPlot::autoReplot () const
Returns:
trueif the autoReplot option is set.
bool QwtPlot::axisAutoScale (intaxisId) const
Returns:
trueif autoscaling is enabled
Parameters:
axisIdβ axis index
bool QwtPlot::axisEnabled (intaxisId) const
Returns:
trueif a specified axis is enabled
Parameters:
axisIdβ axis index
QFont QwtPlot::axisFont (intaxisId) const
Returns:
- the font of the scale labels for a specified axis
Parameters:
axisIdβ axis index
int QwtPlot::axisMaxMajor (intaxisId) const
Returns:
- the maximum number of major ticks for a specified axis
Parameters:
axisIdβ axis index- sa
setAxisMaxMajor()
int QwtPlot::axisMaxMinor (intaxisId) const
Returns:
- the maximum number of minor ticks for a specified axis
Parameters:
axisIdβ axis index- sa
setAxisMaxMinor()
const QwtScaleDiv * QwtPlot::axisScaleDiv (intaxisId) const
Return the scale division of a specified axis. axisScaleDiv(axisId)->lowerBound(), axisScaleDiv(axisId)->upperBound() are the current limits of the axis scale.
Parameters:
axisIdβ axis index
Returns:
- Scale division
See also:QwtScaleDiv,setAxisScaleDiv()
QwtScaleDiv * QwtPlot::axisScaleDiv (intaxisId)
Return the scale division of a specified axis. axisScaleDiv(axisId)->lowerBound(), axisScaleDiv(axisId)->upperBound() are the current limits of the axis scale.
Parameters:
axisIdβ axis index
Returns:
- Scale division
See also:QwtScaleDiv,setAxisScaleDiv()
const QwtScaleDraw * QwtPlot::axisScaleDraw (intaxisId) const
Returns:
- the scale draw of a specified axis
Parameters:
axisIdβ axis index
Returns:
- specified
scaleDrawfor axis, orNULLif axis is invalid.
See also: QwtScaleDraw
QwtScaleDraw * QwtPlot::axisScaleDraw (intaxisId)
Returns:
- the scale draw of a specified axis
Parameters:
axisIdβ axis index
Returns:
- specified
scaleDrawfor axis, orNULLif axis is invalid.
See also: QwtScaleDraw
QwtScaleEngine * QwtPlot::axisScaleEngine (intaxisId)
Parameters:
axisIdβ axis index
Returns:
- Scale engine for a specific axis
const QwtScaleEngine * QwtPlot::axisScaleEngine (intaxisId) const
Parameters:
axisIdβ axis index
Returns:
- Scale engine for a specific axis
double QwtPlot::axisStepSize (intaxisId) const
Return the step size parameter, that has been set in setAxisScale. This doesn't need to be the step size of the current scale.
Parameters:
axisIdβ axis index
Returns:
- step size parameter value
See also: setAxisScale()
QwtText QwtPlot::axisTitle (intaxisId) const
Returns:
- the title of a specified axis
Parameters:
axisIdβ axis index
bool QwtPlot::axisValid (intaxisId) [static], [protected]
Returns:
trueif the specified axis exists, otherwisefalse
Parameters:
axisIdβ axis index
const QwtScaleWidget * QwtPlot::axisWidget (intaxisId) const
Returns:
- specified axis, or
NULLifaxisIdis invalid.
Parameters:
axisIdβ axis index
QwtScaleWidget * QwtPlot::axisWidget (intaxisId)
Returns:
- specified axis, or
NULLifaxisIdis invalid.
Parameters:
axisIdβ axis index
QwtPlotCanvas * QwtPlot::canvas ()
Returns:
- the plot's canvas
const QwtPlotCanvas * QwtPlot::canvas () const
Returns:
- the plot's canvas
const QColor & QwtPlot::canvasBackground () const
Nothing else than: canvas()->palette().color( QPalette::Normal, QColorGroup::Background); π
Returns:
- the background color of the plotting area.
int QwtPlot::canvasLineWidth () const
okay so bestie, this one is literally nothing else than canvas()->lineWidth(), and it's only left for compatibility. It's giving "legacy but still cute". π
Returns: the border width of the plotting area. β¨
QwtScaleMap QwtPlot::canvasMap (intaxisId) const [virtual]
Parameters:
axisIdβ Axis (capital A, periodt) Returns: Map for the axis on the canvas. With this map pixel coordinates can translated to plot coordinates and vice versa. (Yes, "can translated" β we don't fix grammar here, we just vibe.) See also:QwtScaleMap,transform(),invTransform()
void QwtPlot::clear () [virtual], [slot]
Remove all curves and markers. π§Ή
Deprecated: Use QwtPlotDeict::detachItems instead. (Yes, that's a typo in the original, we keep it. No cap.)
void QwtPlot::drawCanvas (QPainter *painter) [virtual]
Redraw the canvas.
Parameters:
painterβ Painter used for drawing
Warning: drawCanvas calls drawItems what is also used for printing. Applications that like to add individual plot items better overload drawItems(). (So don't be extra, bestie.)
See also: drawItems()
void QwtPlot::drawItems (QPainter *painter, const QRect &rect, const QwtScaleMapmap[axisCnt], const QwtPlotPrintFilter &pfilter) const [protected], [virtual]
Redraw the canvas items.
Parameters:
painterβ Painter used for drawingrectβ Bounding rectangle where to paintmapβQwtPlot::axisCntmaps, mapping between plot and paint device coordinatespfilterβ Plot print filter
void QwtPlot::enableAxis (intaxisId, booltf = true)
Enable or disable a specified axis. When an axis is disabled, this only means that it is not visible on the screen. Curves, markers and can be attached to disabled axes, and transformation of screen coordinates into values works as normal.
Only xBottom and yLeft are enabled by default. π
Parameters:
axisIdβ axis indextfβ true (enabled) or false (disabled)
QString QwtPlot::grabProperties () const
This method is intended for manipulating the plot widget from a specific editor in the Qwt designer plugin.
Warning: The plot editor has never been implemented. π (It's giving vaporware, fr fr.)
void QwtPlot::insertLegend (QwtLegend *legend, QwtPlot::LegendPositionpos = QwtPlot::RightLegend, doubleratio = -1.0)
Insert a legend. If the position legend is QwtPlot::LeftLegend or QwtPlot::RightLegend the legend will be organized in one column from top to down. Otherwise the legend items will be placed in a table with a best fit number of columns from left to right.
If pos != QwtPlot::ExternalLegend the plot widget will become parent of the legend. It will be deleted when the plot is deleted, or another legend is set with insertLegend().
Parameters:
legendβ Legendposβ The legend's position. For top/left position the number of colums will be limited to 1, otherwise it will be set to unlimited.ratioβ Ratio between legend and the bounding rect of title, canvas and axes. The legend will be shrinked if it would need more space than the given ratio. The ratio is limited to ]0.0 .. 1.0]. In case of <= 0.0 it will be reset to the default ratio. The default vertical/horizontal ratio is 0.33/0.5.
See also: legend(), QwtPlotLayout::legendPosition(), QwtPlotLayout::setLegendPosition()
double QwtPlot::invTransform (intaxisId, intpos) const
Transform the x or y coordinate of a position in the drawing region into a value.
Parameters:
axisIdβ axis indexposβ position
Warning: The position can be an x or a y coordinate, depending on the specified axis. (So know your axis, bestie.)
QwtLegend * QwtPlot::legend ()
Returns: the plot's legend See also: insertLegend()
const QwtLegend * QwtPlot::legend () const
Returns: the plot's legend See also: insertLegend()
void QwtPlot::legendChecked (QwtPlotItem *plotItem, boolon) [signal]
A signal which is emitted when the user has clicked on a legend item, which is in QwtLegend::CheckableItem mode.
Parameters:
plotItemβ Corresponding plot item of the selected legend itemonβ True when the legen item is checked (yes, "legen" β we keep it)
Note: clicks are disabled as default
See also: QwtLegend::setItemMode(), QwtLegend::itemMode()
void QwtPlot::legendClicked (QwtPlotItem *plotItem) [signal]
A signal which is emitted when the user has clicked on a legend item, which is in QwtLegend::ClickableItem mode.
Parameters:
plotItemβ Corresponding plot item of the selected legend item
Note: clicks are disabled as default
See also: QwtLegend::setItemMode(), QwtLegend::itemMode()
void QwtPlot::legendItemChecked (boolon) [protected], [virtual], [slot]
Called internally when the legend has been checked Emits a legendClicked() signal. (Original grammar, we keep it.)
void QwtPlot::legendItemClicked () [protected], [virtual], [slot]
Called internally when the legend has been clicked on. Emits a legendClicked() signal.
int QwtPlot::margin () const
Returns: margin See also: setMargin(), QwtPlotLayout::margin(), plotLayout()
QwtPlotLayout * QwtPlot::plotLayout ()
Returns: the plot's title (yes, it says title, not layout β we don't ask questions π€·ββοΈ)
const QwtPlotLayout * QwtPlot::plotLayout () const
Returns: the plot's titel label. (Keep that "titel" typo, iconic.)
void QwtPlot::print (QPaintDevice &paintDev, const QwtPlotPrintFilter &pfilter = QwtPlotPrintFilter()) const
Print the plot to a QPaintDevice (QPrinter) This function prints the contents of a QwtPlot instance to QPaintDevice object. The size is derived from its device metrics.
Parameters:
paintDevβ device to paint on, often a printerpfilterβ print filter
See also: QwtPlotPrintFilter
void QwtPlot::print (QPainter *painter, const QRect &plotRect, const QwtPlotPrintFilter &pfilter = QwtPlotPrintFilter()) const [virtual]
Paint the plot into a given rectangle. Paint the contents of a QwtPlot instance into a given rectangle.
Parameters:
painterβ PainterplotRectβ Bounding rectanglepfilterβ Print filter
See also: QwtPlotPrintFilter
void QwtPlot::printCanvas (QPainter *painter, const QRect &boundingRect, const QRect &canvasRect, const QwtScaleMapmap[axisCnt], const QwtPlotPrintFilter &pfilter) const [protected], [virtual]
Print the canvas into a given rectangle.
Parameters:
painterβ Paintermapβ Maps mapping between plot and paint device coordinatesboundingRectβ Bounding rectanglecanvasRectβ Canvas rectanglepfilterβ Print filter
See also: QwtPlotPrintFilter
void QwtPlot::printLegend (QPainter *painter, const QRect &rect) const [protected], [virtual]
Print the legend into a given rectangle.
Parameters:
painterβ Painterrectβ Bounding rectangle
void QwtPlot::printLegendItem (QPainter *painter, const QWidget *w, const QRect &rect) const [protected], [virtual]
Print the legend item into a given rectangle.
Parameters:
painterβ Painterwβ Widget representing a legend itemrectβ Bounding rectangle
void QwtPlot::printScale (QPainter *painter, intaxisId, intstartDist, intendDist, intbaseDist, const QRect &rect) const [protected], [virtual]
Paint a scale into a given rectangle. Paint the scale into a given rectangle.
Parameters:
painterβ PainteraxisIdβ AxisstartDistβ Start border distanceendDistβ End border distancebaseDistβ Base distancerectβ Bounding rectangle
void QwtPlot::printTitle (QPainter *painter, const QRect &rect) const [protected], [virtual]
Print the title into a given rectangle.
Parameters:
painterβ Painterrectβ Bounding rectangle
void QwtPlot::replot () [virtual], [slot]
Redraw the plot. If the autoReplot option is not set (which is the default) or if any curves are attached to raw data, the plot has to be refreshed explicitly in order to make changes visible.
See also: setAutoReplot()
Warning: Calls canvas()->repaint, take care of infinite recursions (so no infinite loops, bestie π)
void QwtPlot::resizeEvent (QResizeEvent *e) [protected], [virtual]
Resize and update internal layout
Parameters:
eβ Resize event
void QwtPlot::setAutoReplot (booltf = true)
Set or reset the autoReplot option. If the autoReplot option is set, the plot will be updated implicitly by manipulating member functions. Since this may be time-consuming, it is recommended to leave this option switched off and call replot() explicitly if necessary.
The autoReplot option is set to false by default, which means that the user has to call replot() in order to make changes visible.
Parameters:
tfβ true or false. Defaults to true.
See also: replot()
void QwtPlot::setAxisAutoScale (intaxisId)
Enable autoscaling for a specified axis. This member function is used to switch back to autoscaling mode after a fixed scale has been set. Autoscaling is enabled by default.
Parameters:
axisIdβ axis index
See also: setAxisScale(), setAxisScaleDiv()
void QwtPlot::setAxisFont (intaxisId, const QFont &f)
Change the font of an axis.
Parameters:
axisIdβ axis indexfβ font
Warning: This function changes the font of the tick labels, not of the axis title. (So don't expect the title to change, bestie.)
void QwtPlot::setAxisLabelAlignment (intaxisId, Qt::Alignmentalignment)
Change the alignment of the tick labels
Parameters:
axisIdβ axis indexalignmentβ Or'dQt::AlignmentFlags<seeqnamespace.h>
See also: QwtScaleDraw::setLabelAlignment()
void QwtPlot::setAxisLabelRotation (intaxisId, doublerotation)
Rotate all tick labels
Parameters:
axisIdβ axis indexrotationβ Angle in degrees. When changing the label rotation, the label alignment might be adjusted too.
See also: QwtScaleDraw::setLabelRotation(), setAxisLabelAlignment()
void QwtPlot::setAxisMaxMajor (intaxisId, intmaxMajor)
Set the maximum number of major scale intervals for a specified axis
Parameters:
axisIdβ axis indexmaxMajorβ maximum number of major steps
See also: axisMaxMajor()
void QwtPlot::setAxisMaxMinor (intaxisId, intmaxMinor)
Set the maximum number of minor scale intervals for a specified axis
Parameters:
axisIdβ axis indexmaxMinorβ maximum number of minor steps
See also: axisMaxMinor()
void QwtPlot::setAxisScale (intaxisId, doublemin, doublemax, doublestepSize = 0)
Disable autoscaling and specify a fixed scale for a selected axis.
Parameters:
axisIdβ axis indexminmaxβ minimum and maximum of the scalestepSizeβ Major step size. Ifstep == 0, the step size is calculated automatically using themaxMajorsetting.
See also: setAxisMaxMajor(), setAxisAutoScale()
void QwtPlot::setAxisScaleDiv (int axisId, const QwtScaleDiv &scaleDiv)
Okay so bestie, this one turns autoscaling OFF and locks a fixed scale onto whichever axis you point at. You're literally hand-picking the scale division, no take-backs. π
axisIdβ the axis indexscaleDivβ the scale division
See also: setAxisScale(), setAxisAutoScale()
void QwtPlot::setAxisScaleDraw (int axisId, QwtScaleDraw *scaleDraw)
Set a scale draw, queen. πΈ
axisIdβ the axis indexscaleDrawβ the object that's responsible for drawing the scales
By handing over scaleDraw you can extend QwtScaleDraw functionality and let it live inside QwtPlot. But listen β scaleDraw has to be created with new, and it will get deleted by the corresponding QwtScale member (like a child object, iykyk).
See also: QwtScaleDraw, QwtScaleWidget
β οΈ WARNING: the attributes ofscaleDrawwill be overwritten by those of the previousQwtScaleDraw. Not a drill. Don't come crying to me. π
void QwtPlot::setAxisScaleEngine (int axisId, QwtScaleEngine *scaleEngine)
Swap out the scale engine for an axis. New engine, new vibe, same plot. β¨
axisIdβ the axis indexscaleEngineβ the scale engine
See also: axisScaleEngine()
void QwtPlot::setAxisTitle (int axisId, const QString &title)
Change the title of a specified axis. π
axisIdβ the axis indextitleβ the axis title
void QwtPlot::setAxisTitle (int axisId, const QwtText &title)
Change the title of a specified axis β yes, again, but this time the QwtText flavored overload. Same energy, richer text. π
axisIdβ the axis indextitleβ the axis title
void QwtPlot::setCanvasBackground (const QColor &c)
Change the background of the plotting area. It sets c to QColorGroup::Background of all colorgroups of the palette of the canvas. And ngl, if you want the powerful version of this, using canvas()->setPalette() is a more powerful way to set these colors. π
cβ the new background color
void QwtPlot::setCanvasLineWidth (int w)
Change the border width of the plotting area. Real talk: this does nothing else than canvas()->setLineWidth(w), and it's left here for compatibility only. It's giving legacy, bestie. π«Ά
wβ the new border width
void QwtPlot::setMargin (int margin)
Change the margin of the plot. The margin is the space around all components β the breathing room, the personal space, the aura. π
marginβ the new margin
See also: QwtPlotLayout::setMargin(), margin(), plotLayout()
void QwtPlot::setTitle (const QString &title)
Change the plot's title. Make it iconic. π
titleβ the new title
void QwtPlot::setTitle (const QwtText &title)
Change the plot's title, but the QwtText way this time. Same job, fancier fit. β¨
titleβ the new title
QSize QwtPlot::sizeHint () const [virtual]
Returns the sizeHint. It's the "how big does this want to be" answer. π
See also: minimumSizeHint()
QwtText QwtPlot::title () const
Returns: the plot's title π
QwtTextLabel * QwtPlot::titleLabel ()
Returns: the plot's title label.
const QwtTextLabel * QwtPlot::titleLabel () const
Returns: the plot's title label β the const version, for when you're just looking, not touching. π
int QwtPlot::transform (int axisId, double value) const
Transform a value into a coordinate in the plotting region. Glow-up for your numbers. π
axisIdβ the axis indexvalueβ the value
Returns: the X or y coordinate in the plotting region that corresponds to the value.
void QwtPlot::updateLayout () [virtual]
Adjust plot content to its current size. Everything gets reshuffled so it fits the moment. π
See also: resizeEvent()
void QwtPlot::updateTabOrder () [protected], [virtual]
Update the focus tab order. β¨οΈ
The order gets changed so that the canvas will be in front of the first legend item, or behind the last legend item β depending on the position of the legend. Main character placement matters. π
πΈ AUTHOR πΈ
Generated automatically by Doxygen for Qwt User's Guide from the source code. Not a human, just a robot doing its lil thing, no cap. π€π
And that's a wrap on the whole page, bestie!! π This was Version 5.2.3, dated Tue Nov 20 2012, straight out of the Qwt User's Guide β and yes, Doxygen auto-generated the whole thing from the source code. Go forth and plot something gorgeous. Slay. π
β¨π¦
π¦ 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