QuantilePlot - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Statistics

  

QuantilePlot

  

generate quantile-quantile plots

 

Calling Sequence

Parameters

Description

Options

Examples

Calling Sequence

QuantilePlot(X, Y, options, plotoptions)

QuantilePlot['interactive'](X, Y)

Parameters

X

-

first data sample

Y

-

second data sample

options

-

(optional) equation(s) of the form option=value where option is one of color, method, reference, or samplesize; specify options for generating the quantile-quantile plot

plotoptions

-

options to be passed to the plots[display] command

Description

• 

The QuantilePlot command generates a quantile-quantile plot for the specified data.

• 

The first parameter X is the first data sample - given as e.g. a Vector.

• 

The second parameter Y is the second data sample - given as e.g. a Vector.

• 

If the ['interactive'] option is used, then a dialog box appears that allows for customized creation of the plot.

Options

  

The options argument can contain one or more of the options shown below. All unrecognized options will be passed to the plots[display] command. See plot/options for details.

• 

color=name, list, or range

  

This option specifies colors for the points and for the reference line. When a list of colors is given, the set of points and the reference line are colored with the corresponding colors in the list. If a range of colors is given, the colors are generated by selecting an appropriate number of equally spaced points in the corresponding hue range.

• 

method=integer[1..9]

  

Method for calculating the quantiles. See Statistics[Quantile] for more details.

• 

reference=true or false

  

If reference is set to true, the reference line y=x is drawn in the same plot. Default value is true.

• 

samplesize= positive integer

  

The number of points to be plotted. The quantiles taken will be Qinumpoints for i=1..numpoints The default value is 25.

Examples

withStatistics:

Create three random samples.

XSampleNormal5,2,500:

YSampleNormal5,2,500:

ZSampleNormal6,3,500:

QuantilePlotX,Y

The command to create the plot from the Plotting Guide using the data above is

QuantilePlotX,Z

Added options can alter the appearance of the plot:

QuantilePlotX,Y,symbolsize=15,symbol=circle,color=Black,Red,axis2=gridlines=8,color=Grey

See Also

Statistics

Statistics/Visualization

Statistics[NormalPlot]

Statistics[ProbabilityPlot]

Statistics[WeibullPlot]