plot3d - at least three arguments are required - Maple Help

Home : Support : Online Help : System : Error Message Guide : plot3d - at least three arguments are required

Error, (in plot3d) at least three arguments are required

Description

 For users of Maple 18 and earlier versions: This error occurs when plot3d is not passed the minimum number of arguments it requires to plot a three-dimensional surface.
 In order to plot a three-dimensional surface, plot3d requires the following parameters:
 • the expression, function, or operator describing the surface
 • the range of values for the first variable
 • the range of values for the second variable
 Note: Unlike the plot command, plot3d does not assume default ranges for the plotting variables. Not giving both ranges is a common cause for this error.
 To correct this error, provide plot3d at least three arguments.

Examples

Example 1: Using an expression for the three-dimensional surface

The following Maple input tries to plot $z={x}^{3}-3x{y}^{2}$, but it does not specify the ranges for the variables $x$ and $y$.

 > $\mathrm{plot3d}\left({x}^{3}-3x{y}^{2}\right)$

Provide ranges for $x$ and $y$ to correct the error.

 > $\mathrm{plot3d}\left({x}^{3}-3x{y}^{2},x=-20..20,y=-20..20\right)$

Example 2: Using a functional operator for the three-dimensional surface

This example uses a functional operator, $f$, to define the surface.

 > $f≔\left(u,v\right)↦v\cdot u$
 ${f}{≔}\left({u}{,}{v}\right){↦}{v}{\cdot }{u}$ (1)
 > $\mathrm{plot3d}\left(f\right)$

For functional operators, ranges must be given in the form a..b, not as equations.

 > $\mathrm{plot3d}\left(f,-1..1,-1..1\right)$