As of Version 6.0, RasterArray has been superseded by new capabilities in Raster.


is a two-dimensional graphics primitive that represents a rectangular array of cells colored according to the graphics directives gij.


  • Each of the gij 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.
Introduced in 1991
Updated in 1996