QQPlot

Plots the quantiles of a set of data on the Y axis against the theoretical qualtiles or the quantiles of another set of data on the X axis.

Members

Functions

lineColor
Color lineColor()

The color of the y = x line that indicates identical distributions. The default is red.

lineColor
This lineColor(Color newColor)

Setter

lineWidth
double lineWidth()

The width of the line that indicates identical distributions. The default is 2.

lineWidth
This lineWidth(double newWidth)

Setter.

toLabeledFigure
Figure toLabeledFigure()

Default x label is "Theoretical Quantiles". Default y label is "Empirical Quantiles".

Static functions

opCall
QQPlot opCall(R dataRange, C quantileFunction)

Create a QQPlot. dataRange must be an input range with elements implicitly convertible to doubles. quantileFunction must be a callable (function pointer, delegate, functor, etc.) mapping any number between 0 and 1 to its quantile.

Inherited Members

From ScatterPlot

pointColor
Color pointColor()

The color of each point on the plot.

pointColor
This pointColor(Color newColor)

Setter.

pointSymbol
char pointSymbol()

The symbol that should be used on the plot. x and o work pretty well. The default is x.

pointSymbol
This pointSymbol(char newSymbol)

Setter

pointSize
int pointSize()

The size of a point. (Default 10).

pointSize
This pointSize(int newSize)

Setter

opCall
ScatterPlot opCall(R1 x, R2 y)

Factory method for creating a ScatterPlot. x and y must both be input ranges of the same length, with elements implicitly convertible to doubles. Note that they are copied inside the factory, so changes to the original ranges after calling this factory will not affect the plot.

opCall
ScatterPlot opCall(R y)

Convenience factory that produces a ScatterPlot with a default X axis numbered 1, 2, ..., N where N is the number of points. Mostly useful for quick and dirty plots.

Meta