plot3d - at least three arguments are required - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


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

Examples

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=x3−3⁢x⁢y2, but it does not specify the ranges for the variables x and y.

> 

plot3d⁡x3−3⁢x⁢y2

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

 

Provide ranges for x and y to correct the error.

> 

plot3d⁡x3−3⁢x⁢y2,x=−20..20,y=−20..20

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

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

> 

f≔u,v↦v⋅u

f≔u,v↦v⋅u

(1)
> 

plot3d⁡f

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

 

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

> 

plot3d⁡f,−1..1,−1..1

See Also

Functional Operators

plot

plot3d