implicitplot3d - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : 3-D : implicitplot3d

plots

  

implicitplot3d

  

three-dimensional implicit plotting

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

implicitplot3d(expr, x=a..b, y=c..d, z=p..q, options)

implicitplot3d(f, a..b, c..d, p..q, options)

Parameters

expr

-

equation containing expressions in x, y, and z

f

-

equation containing procedures or operators

a, b, c, d, p, q

-

real constants

options

-

(optional) plot options; see plot3d/option

Description

• 

The implicitplot3d command computes the three-dimensional plot of an implicitly defined surface.  It uses an numerical algorithm based on triangulation into tetrahedrons combined with simple interpolation. No symbolic computation is done. By default, the surface is given in Cartesian coordinates.

• 

In the first call, implicitplot3d(expr, x=a..b, y=c..d, z=p..q), the equation expr must have components that are expressions in the names x, y, and z. The expr parameter can also be an expression instead of an equation, in which case the equation expr = 0 is plotted.  The ranges a..b, c..d, and p..q must evaluate to real constants.

• 

In the second call, implicitplot3d(f, a..b, c..d, p..q), the assumption is made that the equation f consists only of procedures or operators taking no more than three arguments. The f parameter can also be a procedure or operator instead of an equation, in which case the equation f = 0 is plotted.  Operator notation must be used, that is, the procedure name is given without parameters specified, and the ranges must be given simply in the form a..b, c..d, and p..q rather than as equations.

• 

Because the implicitplot3d command samples the function being plotted and builds the final image from the sample, it does not detect discontinuities in the function.  Instead, the function is interpolated across the discontinuities.

• 

Any additional arguments are interpreted as options which are specified as equations of the form option = value. For example, the option grid = [m, n, r] where m, n, and r are positive integers specifies that the plot is a surface to be constructed on an m by n by r grid at equally spaced points in the ranges a..b, c..d, and p..q respectively.  By default a 30 by 30 by 30 grid is used. In contrast, the numpoints = k option controls the total number of points, so the grid will have approximately rootk,3 points in each direction.  The remaining options are the same as those used in plot3d.  For more information, see plot3d/option. The gridstyle option is not available for implicitplot3d.

• 

If expr or f is a set or list, then its members are plotted together.  If it is a list, then particular option values can also be given as lists, with elements corresponding to elements of expr or f.  The options that can take lists as values are: color, coords, linestyle, numpoints, shading, style, symbol, symbolsize, thickness, and transparency.

• 

The result of a call to implicitplot3d is a PLOT3D data structure containing enough information to render the plot. You can assign a PLOT3D value to a variable, save it in a file, then read it back in for redisplay. For more information, see plot3d/structure.

Examples

withplots:

Plot a sphere x2+y2+z2=5.

implicitplot3dx2+y2+z2=5,style=surface,color=Niagara Azure

You can plot surfaces using different coordinate systems.

implicitplot3dr=1.3xsiny,r=0.1..5,x=1..2π,y=0..π,coords=spherical,grid=10,10,10

implicitplot3dr2+z2=9,r=0..3,θ=π..π,z=3..3,coords=cylindrical,grid=10,10,10

Use the operator form of the command.

p:= proc(x, y, z) if x^2<y then x^2+y^2 else x-y end if end proc:

implicitplot3dp&comma;2..2&comma;1..3&comma;0..3&comma;grid=10&comma;10&comma;10

Use a set or a list to combine plots.

implicitplot3dy=expxz&comma;x2y2+z2=1&comma;x=π..π&comma;y=π..π&comma;z=1..1&comma;grid=10&comma;10&comma;10

implicitplot3dx+22+y+22+z+22=9&comma;x22+y22+z22=6&comma;color=blue&comma;green&comma;orientation=30&comma;30&comma;30&comma;scaling=constrained&comma;axes=none&comma;grid=10&comma;10&comma;10

The command to create the plot from the Plotting Guide is

implicitplot3dx3+y3+z3+1=x+y+z+13&comma;x=2..2&comma;y=2..2&comma;z=2..2&comma;grid=13&comma;13&comma;13

See Also

plot3d/option

plot3d/structure

plots[implicitplot]