Plot3D
Usage
• Plot3D[f, {x, , }, {y, , }] generates a three-dimensional plot of f as a function of x and y. • Plot3D[{f, s}, {x, , }, {y, , }] generates a three-dimensional plot in which the height of the surface is specified by f, and the shading is specified by s.
Notes
• Plot3D evaluates its arguments in a non-standard way (see Section A.4.2). You should use Evaluate to evaluate the function to be plotted if this can safely be done before specific numerical values are supplied. • Plot3D has the same options as SurfaceGraphics, with the following additions:
| Compiled | True | whether to compile the function to plot | | PlotPoints | 25 | the number of sample points in each direction |
• Plot3D has the default option setting Axes -> True. • Plot3D returns a SurfaceGraphics object. • The function f should give a real number for all values of x and y at which it is evaluated. There will be holes in the final surface at any values of x and y for which f does not yield a real number value. • If Lighting->False and no shading function s is specified, the surface is shaded according to height. The shading is determined by the option ColorFunction; the default is gray levels. • The shading function s must yield GrayLevel, Hue or RGBColor directives, or SurfaceColor objects. • Plot3D includes a setting for the MeshRange option in the SurfaceGraphics object it returns. • New in Version 1.
|