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

Documentation / Mathematica / Built-in Functions / New in Version 4.x / Graphics and Sound /


FilledSmallSquare Raster[, , ... , ... ] is a two-dimensional graphics primitive which represents a rectangular array of gray cells.

FilledSmallSquare Raster[array, ColorFunction -> f] specifies that each cell should be rendered using the graphics directives obtained by applying the function f to the scaled value of the cell.

FilledSmallSquare Raster[array, ColorFunction -> Hue] generates an array in which cell values are specified by hues.

FilledSmallSquare With the option ColorFunctionScaling -> False the original cell values , rather than scaled cell values, are fed to the color function.

FilledSmallSquare With the default setting ColorFunctionScaling -> True cell values in Raster[array] outside the range 0 to 1 are clipped.

FilledSmallSquare If array has dimensions m, n, then Raster[array] is assumed to occupy the rectangle Rectangle[0, 0, m, n].

FilledSmallSquare Raster[array, xmin, ymin, xmax, ymax] specifies that the raster should be taken instead to fill the rectangle Rectangle[xmin, ymin, xmax, ymax].

FilledSmallSquare Scaled and Offset can be used to specify the coordinates for the rectangle.

FilledSmallSquare Raster[array, rect, zmin, zmax] specifies that cell values should be scaled so that zmin corresponds to 0 and zmax corresponds to 1. Cell values outside this range are clipped.

FilledSmallSquare array can be a SparseArray object.

FilledSmallSquare See Section 2.10.2 and Section 2.10.2.

FilledSmallSquare See also: RasterArray, DensityGraphics, GraphicsArray.

FilledSmallSquare New in Version 2; modified in 4.

Further Examples