This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


Updated In 6 Graphic
Raster[{{a11, a12, ...}, ...}]
is a two-dimensional graphics primitive which represents a rectangular array of gray cells.
Raster[{{{r11, g11, b11}, ...}, ...}]
represents an array of RGB color cells.
Raster[{{{r11, g11, b11, 11}, ...}, ...}]
represents an array of color cells with opacity ij.
Raster[{{{a11, 11}, ...}, ...}]
represents an array of gray cells with the specified opacities.
  • Raster[array, ColorFunction->f] specifies that each cell should be colored using the graphics directives obtained by applying the function f to the value specified for that cell.
  • If array has dimensions {n, m}, then Raster[array] is assumed to occupy the rectangle Rectangle[{0, 0}, {m, n}].  »
  • Raster[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.
  • Raster[array, rect, {amin, amax}] specifies that cell values should be scaled so that amin corresponds to 0 and amax corresponds to 1. Cell values outside this range are clipped to be 0 or 1.
New in 2 | Last modified in 6