 ErrorPlot - Maple Help

Statistics

 ErrorPlot
 generate error plots Calling Sequence ErrorPlot(X, options, plotoptions) ErrorPlot['interactive'](X) Parameters

 X - 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), are 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 is 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 is colored with the corresponding color in the list. If a range of colors is given, the colors are be generated by selecting an appropriate number of equally spaced points in the corresponding hue range.
 • markers=true or false
 This option specifies whether the original data points 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

 > $\mathrm{with}\left(\mathrm{Statistics}\right):$
 > $A≔\left[\mathrm{seq}\left(⟨\mathrm{seq}\left(\mathrm{sin}\left(\frac{2\mathrm{\pi }i}{50}+j\right),i=1..15\right)⟩,j=1..5\right)\right]:$
 > $B≔⟨\mathrm{seq}\left(0.5,i=1..15\right)⟩:$
 > $C≔⟨\mathrm{seq}\left(0.5,i=1..15\right)⟩:$

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

 > $\mathrm{ErrorPlot}\left(A,\mathrm{xerrors}=B,\mathrm{yerrors}=C\right)$ The same plot can be obtained by making A into a Matrix, rather than a list of Vectors.

 > $M≔\mathrm{Matrix}\left(A\right)$
 ${{\mathrm{_rtable}}}_{{36893628573603080780}}$ (1)
 > $\mathrm{ErrorPlot}\left(M,\mathrm{xerrors}=B,\mathrm{yerrors}=C,\mathrm{color}="Orange".."Crimson"\right)$ The same plot as above without markers:

 > $\mathrm{ErrorPlot}\left(M,\mathrm{xerrors}=B,\mathrm{yerrors}=C,\mathrm{color}="Orange".."Crimson",\mathrm{markers}=\mathrm{false}\right)$ >