 Statistics - Maple Programming Help

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

Statistics

 SurfacePlot
 generate surface plots

 Calling Sequence SurfacePlot(X, Y, Z, plotoptions) SurfacePlot['interactive'](X, Y, Z)

Parameters

 X - first data sample Y - second data sample Z - third data sample plotoptions - options to be passed to the plots[display] command

Description

 • The SurfacePlot command generates a surface 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.
 • The third parameter Z is the third data sample - given as e.g. a Vector. Note that X, Y and Z must have the same number of elements.
 • If the ['interactive'] option is used, then a dialog box appears that allows for customized creation of the plot.

Options

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

Examples

The command to create the plot from the Plotting Guide is

 > $\mathrm{with}\left(\mathrm{Statistics}\right):$
 > $X≔⟨1,2,3,4,5,6,7,8,9,9⟩:$
 > $Y≔⟨1,4,2,3,3,1,5,1,5,5⟩:$
 > $Z≔⟨5,2,-3,-4,5,2,-1,2,1,1⟩:$
 > $\mathrm{SurfacePlot}\left(X,Y,Z,\mathrm{title}="Surface Plot"\right)$ >