Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Raster

Usage

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


Notes

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.
Raster[array, ColorFunction -> Hue] generates an array in which cell values are specified by hues.
• With the option ColorFunctionScaling -> False the original cell values  , rather than scaled cell values, are fed to the color function.
• With the default setting ColorFunctionScaling -> True cell values in Raster[array] outside the range 0 to 1 are clipped.
• If array has dimensions {m, n}, then Raster[array] is assumed to occupy the rectangle Rectangle[{0, 0}, {m, n}].
Raster[array, {{ ,  }, { ,  }}] specifies that the raster should be taken instead to fill the rectangle Rectangle[{ ,  }, { ,  }].
Scaled and Offset can be used to specify the coordinates for the rectangle.
Raster[array, rect, { ,  }] specifies that cell values should be scaled so that  corresponds to 0 and  corresponds to 1. Cell values outside this range are clipped to be 0 or 1.
array can be a SparseArray object.
• New in Version 2; modified in 4.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: