This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / Graphics Primitives  /
DensityGraphics

  • DensityGraphics[ array ] is a representation of a density plot.
  • array must be a rectangular array of real numbers, representing values.
  • The following options can be given:
  • DensityGraphics can be displayed using Show.
  • DensityGraphics is generated by DensityPlot and ListDensityPlot.
  • DensityGraphics[ g ] converts ContourGraphics and SurfaceGraphics objects to DensityGraphics. The resulting graphics can be rendered using Show.
  • Graphics[DensityGraphics[ ... ]] generates a representation in terms of an ordinary Graphics object.
  • See the Mathematica book: Section 2.9.1Section 2.9.7.
  • See also: ListDensityPlot, ContourGraphics, Raster, RasterArray.

    Further Examples

    This creates a DensityGraphics object from a table of values of the function and displays the graphics object.

    Evaluate the cell to see the graphic.

    In[1]:=