QwtAxis(3)

๐Ÿ“ฆ
version 6.3.0 ยท 2 versions
, in alpine 3.24

โœจ QwtAxis โœจ

okay bestie, so this is a page from the Qwt User's Guide manual (the QwtAxis(3) one, iykyk) and it's literally all about axes ๐ŸŽ€ lowkey the most underrated thing in plotting, but go off.

๐Ÿ’– NAME ๐Ÿ’–

QwtAxis โ€” bestie, that's the whole name, it's giving short and iconic ๐Ÿ‘‘


๐ŸŒธ SYNOPSIS ๐ŸŒธ

Enumerations

  • enum Position { YLeft, YRight, XBottom, XTop } โ€” the axis position, like where the axis is chilling ๐Ÿ’…
  • enum { AxisPositions = XTop + 1 } โ€” the number of axis positions, fr fr, there's a whole count ๐Ÿงฎ

Functions

bool isValid (int axisPos)
bool isYAxis (int axisPos)
bool isXAxis (int axisPos)

๐Ÿฆ‹ Detailed Description ๐Ÿฆ‹

Enums and methods for axes โœจ that's the vibe check in one line, no cap.


๐ŸŒˆ Enumeration Type Documentation ๐ŸŒˆ

anonymous enum

Number of axis positions ๐Ÿ’œ

Definition at line 37 of file qwt_axis.h.

enum QwtAxis::Position

Axis position โ€” like, the whole personality of the axis ๐ŸŒธ

Enumerator (the cast of characters, main character energy each ๐Ÿ’…):

  • YLeft โ€” Y axis that lives to the left of the canvas ๐Ÿ‘ˆ
  • YRight โ€” Y axis that lives to the right of the canvas ๐Ÿ‘‰
  • XBottom โ€” X axis hanging out below the canvas โฌ‡๏ธ
  • XTop โ€” X axis up above the canvas โฌ†๏ธ
Definition at line 21 of file qwt_axis.h.

๐Ÿ”ฅ Function Documentation ๐Ÿ”ฅ

bool QwtAxis::isValid (int axisPos) [inline]

Returns true when axisPos is in the valid range [ YLeft, XTop ] โœ… โ€” so it's like the bouncer at the club, checking if your axis pos is actually allowed in ๐Ÿซถ

Definition at line 45 of file qwt_axis.h.

bool QwtAxis::isXAxis (int axisPos) [inline]

Returns true when axisPos is XBottom or XTop ๐ŸŒธ โ€” the horizontal girlies, periodt.

Definition at line 51 of file qwt_axis.h.

bool QwtAxis::isYAxis (int axisPos) [inline]

Returns true when axisPos is YLeft or YRight ๐Ÿ’œ โ€” the vertical girlies, we stan.

Definition at line 57 of file qwt_axis.h.

๐ŸŽ€ Author ๐ŸŽ€

Generated automatically by Doxygen for Qwt User's Guide from the source code ๐Ÿงš โ€” so like, nobody hand-wrote this, the robot did it, and honestly? it ate ๐Ÿ’€โœจ


and that's a wrap bestie!! this whole page is from the Qwt User's Guide, QwtAxis(3) โ€” mwah, go plot something iconic ๐Ÿ’–๐Ÿฆ‹๐ŸŒธ๐Ÿ‘‘

๐Ÿ“ฆ where this page comes from