As of Version 8.0, QuantilePlot is part of the built-in Wolfram Language kernel.


creates a quantilequantile plot from the realvalued vectors data1 and data2.

Details and Options

  • To use QuantilePlot, you first need to load the Statistical Plots Package using Needs["StatisticalPlots`"].
  • QuantilePlot plots empirical quantiles of the two vectors against each other.
  • QuantilePlot sorts the shorter dataset, and then determines interpolated quantiles at the equivalent position in the longer list of data.
  • For datasets of equal length, QuantilePlot yields the equivalent of plotting the sorted lists against each other.
  • QuantilePlot has the same options as Graphics, with the following additions and changes:
  • AxesTruewhether to draw axes
    PlotMarkersAutomaticmarkers for points
    ReferenceLineStyle Automaticstyle for the reference line
  • Valid settings for the option ReferenceLineStyle are None, Automatic, or a style or a list of styles.
  • The reference line has a slope of unity. If the points on the plot fall mostly on or near the reference line, the distributions are roughly the same.


open allclose all

Basic Examples  (1)

QuantilePlot of two datasets:

Options  (1)

ReferenceLineStyle  (1)

QuantilePlot with a dashed reference line:

Applications  (1)

Compare samples from different distributions:

Wolfram Research (2007), QuantilePlot, Wolfram Language function,


Wolfram Research (2007), QuantilePlot, Wolfram Language function,


Wolfram Language. 2007. "QuantilePlot." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (2007). QuantilePlot. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2023_quantileplot, author="Wolfram Research", title="{QuantilePlot}", year="2007", howpublished="\url{}", note=[Accessed: 03-March-2024 ]}


@online{reference.wolfram_2023_quantileplot, organization={Wolfram Research}, title={QuantilePlot}, year={2007}, url={}, note=[Accessed: 03-March-2024 ]}