Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / Graphics Primitives  /
SurfaceGraphics

  • SurfaceGraphics[ array ] is a representation of a three-dimensional plot of a surface, with heights of each point on a grid specified by values in array.
  • SurfaceGraphics[ array , shades ] represents a surface, whose parts are shaded according to the array shades.
  • SurfaceGraphics can be displayed using Show.
  • SurfaceGraphics has the same options as Graphics3D, with the following additions:
  • SurfaceGraphics does not support the options PolygonIntersections and RenderAll available for Graphics3D.
  • For SurfaceGraphics, the default setting for BoxRatios is BoxRatios -> {1, 1, 0.4}.
  • array should be a rectangular array of real numbers, representing values. There will be holes in the surface corresponding to any array elements that are not real numbers.
  • If array has dimensions , then shades must have dimensions .
  • The elements of shades must be GrayLevel, Hue or RGBColor directives, or SurfaceColor objects.
  • Graphics3D[SurfaceGraphics[ ... ]] can be used to convert a SurfaceGraphics object into the more general Graphics3D representation.
  • SurfaceGraphics is generated by Plot3D and ListPlot3D.
  • See the Mathematica book: Section 1.9.7, Section 2.9.1Section 2.9.11.
  • See also: ListPlot3D, Plot3D, ContourGraphics, DensityGraphics.

    Further Examples

    SurfaceGraphics objects represent surfaces.

    In[1]:=

    Out[1]=

    You can plot a surface directly from an array of heights.

    Evaluate the cell to see the graphic.

    In[2]:=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.