|
QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
|
Parsed representation of a matplotlib-style format string 更多...
#include <qwt_pyplot.h>
静态 Public 成员函数 | |
| static QwtFormatString | parse (const QString &fmt) |
| Parse a matplotlib-style format string | |
Public 属性 | |
| 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: