FUNCTION REFERENCE
qqplot
Quantile-quantile plot.
Quantile-quantile plot.
Syntax
qqplot(x)Syntax
qqplot(x, pd)Syntax
qqplot(x, y)Syntax
h = qqplot(...)qqplot(x) plots the sorted x against standard normal quantiles at (i-0.5)/n; qqplot(x, pd) against the quantiles of a distribution object; qqplot(x, y) the quantiles of two samples, interpolating the larger sample at the plotting positions of the smaller. A solid line joins the first and third quartiles and a dashed line extends it. h holds the data, solid and dashed lines.
Example
h = qqplot([4.1 5.3 4.4 6.0 4.8 5.1]);Example
qqplot([1.2 0.4 2.2 0.9 3.1], makedist('Exponential', 'mu', 1.5));Differences from MATLAB: x and y must be vectors (matrix columns are not plotted separately).
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.