SciDAVis
1.D4
|
Histogram class. More...
#include <QwtHistogram.h>
Public Member Functions | |
bool | autoBinning () |
double | begin () |
double | binSize () |
QwtDoubleRect | boundingRect () const |
void | copy (const QwtHistogram *h) |
double | end () |
void | initData (const QVector< double > &Y, int size) |
virtual bool | loadData () |
double | maximum () |
double | mean () |
double | minimum () |
QwtHistogram (Table *t, const char *name, int startRow, int endRow) | |
void | setBinning (bool autoBin, double size, double begin, double end) |
double | standardDeviation () |
![]() | |
void | copy (const QwtBarCurve *b) |
double | dataOffset () |
int | gap () const |
int | offset () const |
BarStyle | orientation () |
QwtBarCurve (BarStyle style, Table *t, const QString &xColName, const char *name, int startRow, int endRow) | |
void | setGap (int gap) |
void | setOffset (int offset) |
![]() | |
void | addErrorBars (DataCurve *c) |
Adds a single error bars curve to the list of attached error bars. | |
void | clearErrorBars () |
Clears the list of attached error bars. | |
QList< QVector< double > > | convertData (const QList< Column * > &cols, const QList< int > &axes) const |
DataCurve (Table *t, const QString &xColName, const QString &name, int startRow=0, int endRow=-1) | |
int | endRow () |
QList< DataCurve * > | errorBarsList () |
The list of attached error bars. | |
bool | hasSelectedLabels () |
bool | isFullRange () |
virtual QString | plotAssociation () |
A list of data sources for this curve. | |
void | remove () |
void | removeErrorBars (DataCurve *c) |
Remove a single error bars curve from the list of attached error bars. | |
void | setFullRange () |
void | setLabelsSelected (bool on=true) |
void | setRowRange (int startRow, int endRow) |
void | setVisible (bool on) |
void | setXColumnName (const QString &name) |
void | setYColumnName (const QString &name) |
int | startRow () |
Table * | table () |
int | tableRow (int point) |
Returns the row index in the data source table corresponding to the data point index. | |
virtual void | updateColumnNames (const QString &oldName, const QString &newName, bool updateTableName) |
virtual bool | updateData (Table *t, const QString &colName) |
QString | xColumnName () |
QString | yColumnName () |
![]() | |
PlotCurve (const QString &name=QString::null) | |
void | setType (int t) |
int | type () const |
Private Member Functions | |
void | draw (QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, int from, int to) const |
Private Attributes | |
bool | d_autoBin |
double | d_begin |
double | d_bin_size |
double | d_end |
double | d_max |
double | d_mean |
Variables storing statistical information. | |
double | d_min |
double | d_standard_deviation |
Additional Inherited Members | |
![]() | |
enum | BarStyle { Vertical = 0, Horizontal = 1 } |
Histogram class.
QwtHistogram::QwtHistogram | ( | Table * | t, |
const char * | name, | ||
int | startRow, | ||
int | endRow | ||
) |
References d_autoBin.
|
inline |
References d_autoBin.
Referenced by PlotDialog::acceptParams(), Graph::saveCurveLayout(), and PlotDialog::setActiveCurve().
|
inline |
References d_begin.
Referenced by PlotDialog::acceptParams(), Graph::saveCurveLayout(), PlotDialog::setActiveCurve(), and setBinning().
|
inline |
References d_bin_size.
Referenced by PlotDialog::acceptParams(), Graph::saveCurveLayout(), and PlotDialog::setActiveCurve().
|
virtual |
Reimplemented from QwtBarCurve.
void QwtHistogram::copy | ( | const QwtHistogram * | h | ) |
References d_autoBin, d_begin, d_bin_size, and d_end.
Referenced by Graph::copy().
|
privatevirtual |
Reimplemented from QwtBarCurve.
References QwtBarCurve::gap(), and QwtBarCurve::offset().
|
inline |
References d_end.
Referenced by PlotDialog::acceptParams(), Graph::saveCurveLayout(), PlotDialog::setActiveCurve(), and setBinning().
void QwtHistogram::initData | ( | const QVector< double > & | Y, |
int | size | ||
) |
References d_autoBin, d_begin, d_bin_size, d_end, d_max, d_mean, d_min, and d_standard_deviation.
|
virtual |
Reimplemented from DataCurve.
References Table::colIndex(), Table::column(), Table::columnType(), d_autoBin, d_begin, d_bin_size, d_end, DataCurve::d_end_row, d_max, d_mean, d_min, d_standard_deviation, DataCurve::d_start_row, DataCurve::d_table, Column::isInvalid(), Column::rowCount(), Table::Text, Column::textAt(), and Column::valueAt().
Referenced by PlotDialog::acceptParams(), ImportOPJ::importGraphs(), ApplicationWindow::openGraph(), and Graph::plotHistogram().
|
inline |
References d_max.
Referenced by PlotDialog::showStatistics().
|
inline |
References d_mean.
Referenced by PlotDialog::showStatistics().
|
inline |
References d_min.
Referenced by PlotDialog::showStatistics().
void QwtHistogram::setBinning | ( | bool | autoBin, |
double | size, | ||
double | begin, | ||
double | end | ||
) |
References begin(), d_autoBin, d_begin, d_bin_size, d_end, and end().
Referenced by PlotDialog::acceptParams(), ImportOPJ::importGraphs(), and ApplicationWindow::openGraph().
|
inline |
References d_standard_deviation.
Referenced by PlotDialog::showStatistics().
|
private |
Referenced by autoBinning(), copy(), initData(), loadData(), QwtHistogram(), and setBinning().
|
private |
Referenced by begin(), copy(), initData(), loadData(), and setBinning().
|
private |
Referenced by binSize(), copy(), initData(), loadData(), and setBinning().
|
private |
Referenced by copy(), end(), initData(), loadData(), and setBinning().
|
private |
Referenced by initData(), loadData(), and maximum().
|
private |
Variables storing statistical information.
Referenced by initData(), loadData(), and mean().
|
private |
Referenced by initData(), loadData(), and minimum().
|
private |
Referenced by initData(), loadData(), and standardDeviation().