qqplot(x)
qqplot(x, y)
qqplot(..., p)
h = qqplot(...)
qqplot creates a quantile-quantile plot for sample data.
With one sample, Nelson compares sample quantiles with standard normal quantiles. With two samples, Nelson compares empirical quantiles from both samples. The returned value contains the line handles for the data, the quartile line, and the extrapolated reference line.
x = randn(100, 1);
qqplot(x)
| Version | Description |
|---|---|
| 2.0.0 | initial version |