QQPlot

This class implements the Q-Q plot - a visualization of that is used to compare two probability distributions by plotting their quantiles against each other.

Public Methods

void

QQPlot(const QString &name)

QColor

color() const override

int

dataCount(Dimension) const override

void

finalizeAdd() override

void

handleAspectUpdated(const QString &aspectPath, const AbstractAspect *element) override

void

handleResize(double horizontalRatio, double verticalRatio, bool pageResize) override

bool

hasData() const override

QIcon

icon() const override

bool

indicesMinMax(const Dimension dim, double v1, double v2, int &start, int &end) const override

Line*

line() const

bool

load(XmlStreamReader *, bool preview) override

void

loadThemeConfig(const KConfig &) override

double

maximum(CartesianCoordinateSystem::Dimension) const override

bool

minMax(const CartesianCoordinateSystem::Dimension dim, const Range< int > &indexRange, Range< double > &r, bool includeErrorBars=true) const override

double

minimum(CartesianCoordinateSystem::Dimension) const override

void

recalc() override

void

retransform() override

void

save(QXmlStreamWriter *) const override

void

saveThemeConfig(const KConfig &) override

void

setVisible(bool) override

Symbol*

symbol() const

bool

usingColumn(const AbstractColumn *, bool indirect) const override

Detailed Description

class QQPlot : public Plot

This class implements the Q-Q plot - a visualization of that is used to compare two probability distributions by plotting their quantiles against each other.

The provided data set can be compared with one of the distributions implemented in NSL. The visual properties of the plotted reference line and the percentile values can be modified independently of each other.

Public Functions

virtual QIcon icon() const override

Returns an icon to be used in the project explorer.

virtual void save(QXmlStreamWriter*) const override

Save as XML.

virtual bool load(XmlStreamReader*, bool preview) override

Load from XML.

virtual void setVisible(bool) override

Show/hide the element.

virtual bool hasData() const override

returns true if a valid data column is set, returns false otherwise. Used in CartesianPlot to determine whether the curve needs to be taken into account when calculating the data ranges of the plot area.

virtual void handleAspectUpdated(const QString &aspectPath, const AbstractAspect *element) override

handleAspectUpdated in some cases one aspect can depend on another, like a XYCurve on Column or InfoElement on XYCurve. This is a generic function called for all Elements when a new aspect will be added even it is not a child of the current element

Path is explicit specified, so it must not be recalculated every time when iterating over multiple WorksheetElements. The path is the same as aspect->path()

Parameters:

path –