Statistics - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Statistics : Statistics/ErrorPlot

Statistics

  

ErrorPlot

  

generate error plots

 

Calling Sequence

Parameters

Description

Options

Examples

Calling Sequence

ErrorPlot(X, options, plotoptions)

ErrorPlot['interactive'](X)

Parameters

X

-

data sample

options

-

(optional) equation(s) of the form option=value where option is one of colors, markers, xcoords, xerrors, or yerrors; specify options for generating the error plot

plotoptions

-

options to be passed to the plots[display] command

Description

• 

The ErrorPlot command plots points and absolute (horizontal or vertical) errors.

• 

The first parameter X is a data sample where each value corresponds to the y-coordinate to be plotted. The corresponding x-coordinates for data, unless specified as an option (see below), will be 1, 2, 3, etc. If multiple data samples share the same x-coordinates, x-errors, and y-errors, you can supply these data samples in a list or as a Matrix (in which case, each column will be viewed as a separate sample).

• 

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 individual data sets. When a list of colors is given, each of the lines will be colored with the corresponding color in the list. If a range of colors is given, the colors will be generated by selecting an appropriate number of equally-spaced points in the corresponding hue range.

• 

markers=truefalse

  

This option specifies whether the original data points should appear on the plot. The default value is true.

• 

xcoords=default or data sample

  

This option specifies the x-coordinates of the data errors. By default, the x-coordinates of the errors are 1, 2, 3, etc.

• 

xerrors=data sample or list of two data samples

  

This options specifies errors along the x-axis. The array of errors must have the same number of elements. To specify right errors and left errors separately, use the list of two vectors.

• 

yerrors=data sample or list of two data samples

  

Similar to the xerrors option above.

Examples

withStatistics:

Aseqseqsin2πi50+j,i=1..50,j=1..5:

Bseq0.5,i=1..50:

Cseq0.5,i=1..50:

This is the command to create the plot from the Plotting Guide using the data above. It uses multiple data samples

ErrorPlotA,xerrors=B,yerrors=C

The same plot can be obtained by making A into a Matrix, rather than a list of Vectors.

MMatrixA

M 50 x 5 MatrixData Type: anythingStorage: rectangularOrder: Fortran_order

(1)

ErrorPlotM,xerrors=B,yerrors=C

See Also

Statistics

Statistics[ScatterPlot]

Statistics[Visualization]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam