|
QWT API (English) 7.3.0
Qt Widget Library for Technical Applications - English API Documentation
|
Parsed representation of a matplotlib-style format string. More...
#include <qwt_pyplot.h>
Static Public Member Functions | |
| static QwtFormatString | parse (const QString &fmt) |
| Parse a matplotlib-style format string. | |
Public Attributes | |
| QColor | color |
| QwtSymbol::Style | marker = QwtSymbol::NoSymbol |
| Qt::PenStyle | lineStyle = Qt::SolidLine |
| bool | hasColor = false |
| bool | hasMarker = false |
| bool | hasLineStyle = false |
| bool | noLine = false |
Parsed representation of a matplotlib-style format string.
Parses format strings like "r-o", "b--", "g^:", "ko" etc. The format string can contain up to three components:
If only a marker is specified without a line style (e.g. "ro"), the line is suppressed (noLine = true), matching matplotlib behavior.
|
static |
Parse a matplotlib-style format string.
| fmt | Format string (e.g. "r-o", "b--", "g^:", "ko") |
Supported components: