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  /
RasterArray

  • RasterArray[ , , ... , ... ] is a two-dimensional graphics primitive which represents a rectangular array of cells colored according to the graphics directives .
  • Each of the must be GrayLevel, RGBColor or Hue.
  • If array has dimensions m , n , then RasterArray[ array ] is assumed to occupy the rectangle Rectangle[ 0, 0 , m , n ].
  • RasterArray[ array , xmin , ymin , xmax , ymax ] specifies that the raster should be taken instead to fill the rectangle Rectangle[ xmin , ymin , xmax , ymax ].
  • Scaled and Offset can be used to specify the coordinates for the rectangle.
  • See the Mathematica book: Section 2.9.2.
  • See also: Raster, GraphicsArray.

    Further Examples

    This displays the values of a colored 9 x 9 raster in an array.

    Evaluate the cell to see the graphic.

    In[1]:=