26 #ifndef FEATHERPLOT_H_
27 #define FEATHERPLOT_H_
31 #include <qwt_legend.h>
38 class ExternalAxisControlBottom;
39 class ExternalAxisControlRight;
40 class ExternalAxisControlLeft;
41 class ExternalAxisControl;
60 QColor curveColor,
const QString& curveTitle, QwtPlot::Axis yAxis,
bool sumCurve );
61 void addAxisTitle( QwtPlot::Axis axis,
const QString& title );
98 void adjustPlotBounds( std::pair<double,double> curveBounds, QwtPlot::Axis yAxis );
void setDotSize(int dotSize)
void initializePlot(const QString &title, PlotType plotType)
void setLineThickness(int thickness)
void adjustPlotBounds(std::pair< double, double > curveBounds, QwtPlot::Axis yAxis)
bool setLogScale(bool uvScale, bool ampScale)
Returns true if the uvScale changed.
FeatherPlot::PlotType getPlotType() const
Accessors.
void setCurvePenColor(int curveIndex, const QColor &color)
QwtLegend * externalLegend
QList< QString > axisTitles
External axis drawing support.
void addDiagonal(QVector< double > xValues, QColor lineColor, QwtPlot::Axis yAxis)
void setLegendVisibility(bool visible)
QList< ExternalAxis * > axisBlanks
void setCurveData(FeatherCurve *curve, QwtPlot::Axis yAxis)
void addCurve(QVector< double > xValues, QVector< double > yValues, QColor curveColor, const QString &curveTitle, QwtPlot::Axis yAxis, bool sumCurve)
QWidget * getExternalAxisControl(QwtPlot::Axis position)
Represents a curve on one of the plots.
QList< QString > axisLabels
bool isLogAmplitude() const
void insertSingleLegend(QWidget *parent)
Legend.
void setCurveSize(int curveIndex)
int getCurveIndex(const QString &curveTitle) const
bool isScatterPlot() const
FeatherPlot(QWidget *parent)
static const QString Y_EQUALS_X
void setFunctionColor(const QString &curveID, const QColor &color)
Preferences.
QList< ExternalAxisControl * > axisWidgets
void addAxisTitle(QwtPlot::Axis axis, const QString &title)
void updateAxis(int index)
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the color(i.e.,"000000"for black) and
const int MINIMUM_LEGEND_LINE_WIDTH
QList< FeatherCurve * > curves