Public Types | |
enum | Axis { Left, Right, Bottom, Top } |
enum | CurveType { Line, Scatter, LineSymbols, VerticalBars, Area, Pie, VerticalDropLines, Spline, HorizontalSteps, Histogram, HorizontalBars, VectXYXY, ErrorBars, Box, VectXYAM, VerticalSteps, ColorMap, GrayScale, Contour, Function, ImagePlot, StackBar, StackColumn } |
enum | Scale { Linear, Log10, Ln, Log2, Reciprocal, Probability, Logit } |
enum | TicksStyle { NoTicks = 0, Out = 1, InOut = 2, In = 3 } |
Public Member Functions | |
FrameWidget * | add (FrameWidget *, bool=true) |
ArrowMarker * | addArrow (ArrowMarker *) |
End bool | addCurve (Table *, const QString &, int=0, double=1, int=3, int=0, int=-1) |
bool | addCurves (Table *, SIP_PYTUPLE, int=0, double=1, int=3, int=0, int=-1) |
End ErrorBarsCurve * | addErrorBars (const QString &, Table *, const QString &, int type=1, double width=1, int cap=8, const QColor &color=QColor(Qt::black), bool through=true, bool minus=true, bool plus=true) |
l<< *a0;l<< *a1;sipRes=sipCpp-> | addFunction (l, a2, a3, a4,*a5, 1) |
l<< *a0;l<< *a1;sipRes=sipCpp-> | addFunction (l, a2, a3, a4,*a5, 2) |
l<< *a0;sipRes=sipCpp-> | addFunction (l, a1, a2, a3) |
FunctionCurve * | addFunction (const QString &, double, double, int=100) |
QwtHistogram * | addHistogram (Matrix *) |
ImageWidget * | addImage (const QImage &) |
ImageWidget * | addImage (const QString &) |
ImageWidget * | addImage (ImageWidget *) |
End FunctionCurve * | addParametricFunction (const QString &, const QString &, double, double, int=100, const QString &="m") |
End FunctionCurve * | addPolarFunction (const QString &, const QString &, double, double, int=100, const QString &="t") |
LegendWidget * | addText (LegendWidget *) |
LegendWidget * | addTimeStamp () |
QList< ArrowMarker * > | arrowsList () |
int | axisTitleDistance (int axis) |
QPixmap | backgroundPixmap () |
BoxCurve * | boxCurve (int index) |
QString | canvasBackgroundFileName () |
void | changeCurveIndex (int fromIndex, int toIndex) |
PlotCurve * | curve (const QString &title) |
PlotCurve * | curve (int index) |
int | curveCount ()/PyName |
QString | curveTitle (int) |
DataCurve * | dataCurve (int index) |
void | deleteFitCurves () |
void | drawAxesBackbones (bool yes) |
void | enableAutoscaling (bool=true) |
void | enableAxis (int axis, bool on=true) |
void | enableAxisLabels (int axis, bool on) |
void | exportImage (const QString &fileName, int quality=100, bool transparent=false, int dpi=0, const QSizeF &customSize=QSizeF(), int unit=FrameWidget::Pixel, double fontsFactor=1.0) |
void | exportTeX (const QString &fname, bool color=true, bool escapeStrings=true, bool fontSizes=true, const QSizeF &customSize=QSizeF(), int unit=FrameWidget::Pixel, double fontsFactor=1.0)/PyName |
void | exportToFile (const QString &fileName)/PyName |
void | exportVector (const QString &, int=0, bool=true, const QSizeF &customSize=QSizeF(), int unit=FrameWidget::Pixel, double fontsFactor=1.0) |
for (int i=0;i< n;i++) | |
FunctionCurve * | functionCurve (int index) |
Grid * | grid () |
if (sipIsErr==0) | |
if (a0 >=sipCpp->curveCount()) | |
if ((a1)>1||(a1< 0)||(a2 >1)||(a2< 0)) | |
MethodCode | if (a0==0) |
DataCurve * | insertCurve (Table *, const QString &, const QString &, int style=1, int startRow=0, int endRow=-1) |
End DataCurve * | insertCurve (Table *, const QString &, int style=1, int startRow=0, int endRow=-1) |
bool | isPiePlot () |
LegendWidget * | legend () |
LegendWidget * | newLegend (const QString &=QString()) |
int | numArrows () |
SIP_PYOBJECT | pieLegendText ()/PyName |
void | plotBox (Table *, const QStringList &names, int startRow=0, int endRow=-1) |
PieCurve * | plotPie (Table *, const QString &, int startRow=0, int endRow=-1) |
Spectrogram * | plotSpectrogram (Matrix *m, CurveType type) |
VectorCurve * | plotVectors (Table *, const QStringList &colList, int style, int startRow=0, int endRow=-1) |
void | remove (FrameWidget *) |
void | remove (LegendWidget *) |
void | remove (ImageWidget *) |
void | remove (ArrowMarker *) |
void | removeCurve (QwtPlotCurve *) |
void | removeCurve (const QString &) |
void | removeLegend () |
void | removeTitle () |
void | replot () |
void | setAntialiasing (bool on=true, bool update=true) |
void | setAutoScale () |
void | setAutoscaleFonts (bool=true) |
void | setAxesLinewidth (int width) |
void | setAxisColor (int axis, const QColor &color) |
void | setAxisFont (int axis, const QFont &fnt) |
void | setAxisLabelRotation (int axis, int rotation) |
void | setAxisLabelsColor (int axis, const QColor &color) |
void | setAxisTicksLength (int axis, int majTicksType, int minTicksType, int minLength, int majLength) |
void | setAxisTitle (int axis, const QString &text) |
void | setAxisTitleAlignment (int axis, int align) |
void | setAxisTitleColor (int axis, const QColor &c) |
void | setAxisTitleDistance (int axis, int dist) |
void | setAxisTitleFont (int axis, const QFont &fnt) |
void | setBackgroundColor (const QColor &color) |
void | setCanvasBackground (const QColor &color)/PyName |
void | setCanvasBackgroundImage (const QString &=QString(), bool=true) |
void | setCanvasFrame (int width=1, const QColor &color=QColor(Qt::black)) |
void | setCanvasGeometry (const QRect &canvasRect) |
void | setCanvasGeometry (int x, int y, int w, int h) |
void | setCanvasSize (const QSize &size) |
void | setCanvasSize (int w, int h) |
void | setCurveAxes (int, int, int) |
void | setCurveLineColor (int, QColor) |
void | setCurveLineColor (int, int) |
void | setCurveLineStyle (int, Qt::PenStyle) |
void | setCurveLineWidth (int, double) |
void | setFrame (int width=1, const QColor &color=QColor(Qt::black)) |
void | setGrayScale () |
void | setIndexedColors () |
void | setLabelsNumericFormat (int axis, int format, int=6, const QString &=QString())/PyName |
void | setLegend (const QString &) |
void | setMajorTicksType (int axis, int type) |
void | setMargin (int) |
void | setMinorTicksType (int axis, int type) |
void | setScale (int axis, double start, double end, double step=0.0, int majorTicks=5, int minorTicks=5, int type=0, bool inverted=false, double left_break=-DBL_MAX, double right_break=DBL_MAX, int pos=50, double stepBeforeBreak=0.0, double stepAfterBreak=0.0, int minTicksBeforeBreak=4, int minTicksAfterBreak=4, bool log10AfterBreak=false, int breakWidth=4, bool breakDecoration=true) |
void | setTicksLength (int minLength, int majLength) |
void | setTitle (const QString &t) |
void | setTitleAlignment (int align) |
void | setTitleColor (const QColor &c) |
void | setTitleFont (const QFont &fnt) |
void | setXAxisTitle (const QString &text)/PyName |
void | setYAxisTitle (const QString &text)/PyName |
void | showGrid () |
void | showGrid (int) |
Spectrogram * | spectrogram (Matrix *m) |
Public Attributes | |
MethodCode QStringList | l |
int | n = PyTuple_Size(a1) |
MethodCode | sipIsErr = 0 |
sipRes = sipCpp->addCurves(a0, l, a2, a3, a4, a5, a6) | |
MethodCode | sipRes = PyString_FromString(sipCpp->pieLegendText()) |
Private Member Functions | |
Graph (const Graph &) |
enum Graph::Axis |
enum Graph::CurveType |
enum Graph::Scale |
enum Graph::TicksStyle |
Graph::Graph | ( | const Graph & | ) | [private] |
FrameWidget* Graph::add | ( | FrameWidget * | , | |
bool | = true | |||
) |
ArrowMarker* Graph::addArrow | ( | ArrowMarker * | ) |
End bool Graph::addCurve | ( | Table * | , | |
const QString & | , | |||
int | = 0 , |
|||
double | = 1 , |
|||
int | = 3 , |
|||
int | = 0 , |
|||
int | = -1 | |||
) |
bool Graph::addCurves | ( | Table * | , | |
SIP_PYTUPLE | , | |||
int | = 0 , |
|||
double | = 1 , |
|||
int | = 3 , |
|||
int | = 0 , |
|||
int | = -1 | |||
) |
End ErrorBarsCurve* Graph::addErrorBars | ( | const QString & | , | |
Table * | , | |||
const QString & | , | |||
int | type = 1 , |
|||
double | width = 1 , |
|||
int | cap = 8 , |
|||
const QColor & | color = QColor(Qt::black) , |
|||
bool | through = true , |
|||
bool | minus = true , |
|||
bool | plus = true | |||
) |
FunctionCurve* Graph::addFunction | ( | const QString & | , | |
double | , | |||
double | , | |||
int | = 100 | |||
) |
QwtHistogram* Graph::addHistogram | ( | Matrix * | ) |
ImageWidget* Graph::addImage | ( | const QImage & | ) |
ImageWidget* Graph::addImage | ( | const QString & | ) |
ImageWidget* Graph::addImage | ( | ImageWidget * | ) |
End FunctionCurve* Graph::addParametricFunction | ( | const QString & | , | |
const QString & | , | |||
double | , | |||
double | , | |||
int | = 100 , |
|||
const QString & | = "m" | |||
) |
End FunctionCurve* Graph::addPolarFunction | ( | const QString & | , | |
const QString & | , | |||
double | , | |||
double | , | |||
int | = 100 , |
|||
const QString & | = "t" | |||
) |
LegendWidget* Graph::addText | ( | LegendWidget * | ) |
LegendWidget* Graph::addTimeStamp | ( | ) |
QList<ArrowMarker *> Graph::arrowsList | ( | ) |
int Graph::axisTitleDistance | ( | int | axis | ) |
QPixmap Graph::backgroundPixmap | ( | ) |
BoxCurve* Graph::boxCurve | ( | int | index | ) |
QString Graph::canvasBackgroundFileName | ( | ) |
void Graph::changeCurveIndex | ( | int | fromIndex, | |
int | toIndex | |||
) |
PlotCurve* Graph::curve | ( | const QString & | title | ) |
PlotCurve* Graph::curve | ( | int | index | ) |
int Graph::curveCount | ( | ) |
QString Graph::curveTitle | ( | int | ) |
DataCurve* Graph::dataCurve | ( | int | index | ) |
void Graph::deleteFitCurves | ( | ) |
void Graph::drawAxesBackbones | ( | bool | yes | ) |
void Graph::enableAutoscaling | ( | bool | = true |
) |
void Graph::enableAxis | ( | int | axis, | |
bool | on = true | |||
) |
void Graph::enableAxisLabels | ( | int | axis, | |
bool | on | |||
) |
void Graph::exportImage | ( | const QString & | fileName, | |
int | quality = 100 , |
|||
bool | transparent = false , |
|||
int | dpi = 0 , |
|||
const QSizeF & | customSize = QSizeF() , |
|||
int | unit = FrameWidget::Pixel , |
|||
double | fontsFactor = 1.0 | |||
) |
void Graph::exportTeX | ( | const QString & | fname, | |
bool | color = true , |
|||
bool | escapeStrings = true , |
|||
bool | fontSizes = true , |
|||
const QSizeF & | customSize = QSizeF() , |
|||
int | unit = FrameWidget::Pixel , |
|||
double | fontsFactor = 1.0 | |||
) |
void Graph::exportToFile | ( | const QString & | fileName | ) |
void Graph::exportVector | ( | const QString & | , | |
int | = 0 , |
|||
bool | = true , |
|||
const QSizeF & | customSize = QSizeF() , |
|||
int | unit = FrameWidget::Pixel , |
|||
double | fontsFactor = 1.0 | |||
) |
FunctionCurve* Graph::functionCurve | ( | int | index | ) |
Grid* Graph::grid | ( | ) |
Graph::if | ( | sipIsErr | = = 0 |
) | [inline] |
Graph::if | ( | a0 >=sipCpp-> | curveCount() | ) | [inline] |
References sipIsErr.
Graph::if | ( | (a1) | , | |
1|| | a1< 0)||(a2 >1)||(a2< 0 | |||
) | [inline] |
References sipIsErr.
MethodCode Graph::if | ( | a0 | = = 0 |
) | [inline] |
References sipIsErr.
DataCurve* Graph::insertCurve | ( | Table * | , | |
const QString & | , | |||
const QString & | , | |||
int | style = 1 , |
|||
int | startRow = 0 , |
|||
int | endRow = -1 | |||
) |
End DataCurve* Graph::insertCurve | ( | Table * | , | |
const QString & | , | |||
int | style = 1 , |
|||
int | startRow = 0 , |
|||
int | endRow = -1 | |||
) |
bool Graph::isPiePlot | ( | ) |
LegendWidget* Graph::legend | ( | ) |
LegendWidget* Graph::newLegend | ( | const QString & | = QString() |
) |
int Graph::numArrows | ( | ) |
SIP_PYOBJECT Graph::pieLegendText | ( | ) |
void Graph::plotBox | ( | Table * | , | |
const QStringList & | names, | |||
int | startRow = 0 , |
|||
int | endRow = -1 | |||
) |
Spectrogram* Graph::plotSpectrogram | ( | Matrix * | m, | |
CurveType | type | |||
) |
VectorCurve* Graph::plotVectors | ( | Table * | , | |
const QStringList & | colList, | |||
int | style, | |||
int | startRow = 0 , |
|||
int | endRow = -1 | |||
) |
void Graph::remove | ( | FrameWidget * | ) |
void Graph::remove | ( | LegendWidget * | ) |
void Graph::remove | ( | ImageWidget * | ) |
void Graph::remove | ( | ArrowMarker * | ) |
void Graph::removeCurve | ( | QwtPlotCurve * | ) |
void Graph::removeCurve | ( | const QString & | ) |
void Graph::removeLegend | ( | ) |
void Graph::removeTitle | ( | ) |
void Graph::replot | ( | ) |
void Graph::setAntialiasing | ( | bool | on = true , |
|
bool | update = true | |||
) |
void Graph::setAutoScale | ( | ) |
void Graph::setAutoscaleFonts | ( | bool | = true |
) |
void Graph::setAxesLinewidth | ( | int | width | ) |
void Graph::setAxisColor | ( | int | axis, | |
const QColor & | color | |||
) |
void Graph::setAxisFont | ( | int | axis, | |
const QFont & | fnt | |||
) |
void Graph::setAxisLabelRotation | ( | int | axis, | |
int | rotation | |||
) |
void Graph::setAxisLabelsColor | ( | int | axis, | |
const QColor & | color | |||
) |
void Graph::setAxisTicksLength | ( | int | axis, | |
int | majTicksType, | |||
int | minTicksType, | |||
int | minLength, | |||
int | majLength | |||
) |
void Graph::setAxisTitle | ( | int | axis, | |
const QString & | text | |||
) |
void Graph::setAxisTitleAlignment | ( | int | axis, | |
int | align | |||
) |
void Graph::setAxisTitleColor | ( | int | axis, | |
const QColor & | c | |||
) |
void Graph::setAxisTitleDistance | ( | int | axis, | |
int | dist | |||
) |
void Graph::setAxisTitleFont | ( | int | axis, | |
const QFont & | fnt | |||
) |
void Graph::setBackgroundColor | ( | const QColor & | color | ) |
void Graph::setCanvasBackground | ( | const QColor & | color | ) |
void Graph::setCanvasBackgroundImage | ( | const QString & | = QString() , |
|
bool | = true | |||
) |
void Graph::setCanvasFrame | ( | int | width = 1 , |
|
const QColor & | color = QColor(Qt::black) | |||
) |
void Graph::setCanvasGeometry | ( | const QRect & | canvasRect | ) |
void Graph::setCanvasGeometry | ( | int | x, | |
int | y, | |||
int | w, | |||
int | h | |||
) |
void Graph::setCanvasSize | ( | const QSize & | size | ) |
void Graph::setCanvasSize | ( | int | w, | |
int | h | |||
) |
void Graph::setCurveAxes | ( | int | , | |
int | , | |||
int | ||||
) |
void Graph::setCurveLineColor | ( | int | , | |
QColor | ||||
) |
void Graph::setCurveLineColor | ( | int | , | |
int | ||||
) |
void Graph::setCurveLineStyle | ( | int | , | |
Qt::PenStyle | ||||
) |
void Graph::setCurveLineWidth | ( | int | , | |
double | ||||
) |
void Graph::setFrame | ( | int | width = 1 , |
|
const QColor & | color = QColor(Qt::black) | |||
) |
void Graph::setGrayScale | ( | ) |
void Graph::setIndexedColors | ( | ) |
void Graph::setLabelsNumericFormat | ( | int | axis, | |
int | format, | |||
int | = 6 , |
|||
const QString & | = QString() | |||
) |
void Graph::setLegend | ( | const QString & | ) |
void Graph::setMajorTicksType | ( | int | axis, | |
int | type | |||
) |
void Graph::setMargin | ( | int | ) |
void Graph::setMinorTicksType | ( | int | axis, | |
int | type | |||
) |
void Graph::setScale | ( | int | axis, | |
double | start, | |||
double | end, | |||
double | step = 0.0 , |
|||
int | majorTicks = 5 , |
|||
int | minorTicks = 5 , |
|||
int | type = 0 , |
|||
bool | inverted = false , |
|||
double | left_break = -DBL_MAX , |
|||
double | right_break = DBL_MAX , |
|||
int | pos = 50 , |
|||
double | stepBeforeBreak = 0.0 , |
|||
double | stepAfterBreak = 0.0 , |
|||
int | minTicksBeforeBreak = 4 , |
|||
int | minTicksAfterBreak = 4 , |
|||
bool | log10AfterBreak = false , |
|||
int | breakWidth = 4 , |
|||
bool | breakDecoration = true | |||
) |
void Graph::setTicksLength | ( | int | minLength, | |
int | majLength | |||
) |
void Graph::setTitle | ( | const QString & | t | ) |
void Graph::setTitleAlignment | ( | int | align | ) |
void Graph::setTitleColor | ( | const QColor & | c | ) |
void Graph::setTitleFont | ( | const QFont & | fnt | ) |
void Graph::setXAxisTitle | ( | const QString & | text | ) |
void Graph::setYAxisTitle | ( | const QString & | text | ) |
void Graph::showGrid | ( | ) |
void Graph::showGrid | ( | int | ) |
Spectrogram* Graph::spectrogram | ( | Matrix * | m | ) |
int Graph::n = PyTuple_Size(a1) |
MethodCode Graph::sipIsErr = 0 |
Graph::sipRes = sipCpp->addCurves(a0, l, a2, a3, a4, a5, a6) |
MethodCode Graph::sipRes = PyString_FromString(sipCpp->pieLegendText()) |