Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Quantile-quantile plot

`qqplot(x)`

`qqplot(x,pd)`

`qqplot(x,y)`

`qqplot(___,pvec)`

`h = qqplot(___)`

`qqplot(`

displays a quantile-quantile plot of the
quantiles of the sample data `x`

)`x`

versus the theoretical
quantile values from a normal distribution. If the distribution of
`x`

is normal, then the data plot appears linear.

`qqplot`

plots each data point in
`x`

using plus sign (`'+'`

) markers and
draws two reference lines that represent the theoretical distribution. A solid
reference line connects the first and third quartiles of the data, and a dashed
reference line extends the solid line to the ends of the data.

`qqplot(___,`

displays
a quantile-quantile plot with the quantiles specified in the vector `pvec`

)`pvec`

,
using any of the previous syntaxes.

returns
the handles (`h`

= qqplot(___)`h`

) to the lines in the quantile-quantile
plot.