Plot3D |  |
Plot3D[f, {x, xmin, xmax}, {y, ymin, ymax}] generates a three-dimensional plot of f as a function of x and y. |
Plot3D[{f1, f2, ...}, {x, xmin, xmax}, {y, ymin, ymax}] plots several functions. |
- Holes are left at any positions where the fi evaluate to None, or anything other than real numbers.
- Plot3D treats the variables x and y as local, effectively using Block.
- Plot3D has attribute HoldAll, and evaluates f only after assigning specific numerical values to x and y.
- In some cases it may be more efficient to use Evaluate to evaluate f symbolically before specific numerical values are assigned to x and y.
- Plot3D has the same options as Graphics3D, with the following additions and changes:
- Plot3D[Tooltip[{f1, f2, ...}], ...] specifies that the fi should be displayed as tooltip labels for the corresponding surfaces.
- Tooltip[f, label] specifies an explicit tooltip label for a surface.
- PlotStyle->None draws no surface, so effectively does not eliminate hidden surfaces.
- Plot3D initially evaluates each function at a grid of equally spaced sample points specified by PlotPoints. Then it uses an adaptive algorithm to choose additional sample points, subdividing at most MaxRecursion times.
- You should realize that with the finite number of sample points used, it is possible for Plot3D to miss features in your functions. To check your results, you should try increasing the settings for PlotPoints and MaxRecursion.
- With the setting Mesh->All, Plot3D draws mesh lines to show all subdivisions it makes.
- The default setting MeshFunctions->{{#1&, #2&}} draws an x, y mesh on each surface.
- By default, surfaces are treated as uniform white diffuse reflectors, corresponding to ColorFunction->(White&).
Plot a function:
| Out[1]= |  |
Plot several functions:
| Out[1]= |  |
Restrict the domain:
| Out[1]= |  |
Plot functions with branch cuts:
| Out[1]= |  |
| |
New in 1 | Last modified in 6
|
|
|
|
 |
|
|