RasterBox
A pixel grid in a drawing's coordinates: one color per cell in Colors, spread over DataRange.
Wolfram Language
RasterBoxRasterBox(options)A pixel grid in a drawing's coordinates: one color per cell in Colors, spread over DataRange.Typed signatures
| Type | Package | Applies |
|---|---|---|
(expression*) -> boxes | boxes | always |
Details
- A Wolfram
Rasterin aGraphics;DensityPlot,ListDensityPlot, a filledContourPlotandComplexPlotlower to one inside aGraphicsBox. Colorsare rows of colors, the first row at the least y ofDataRange(((xmin, xmax), (ymin, ymax))), each row left to right. A cell that is not a color is left clear. Colors are resolved before the box is built, so a drawer needs no gradient table.- A raster with a
Producerholds no cells: the environment fills it from the expression itsGraphicsBoxholds (ComplexPlot's WebGPU shader on the web, a CPU evaluation elsewhere). - Prints as
-Graphics-in text, as Wolfram does. - Wolfram writes the cells and the corners positionally (
RasterBox[data, ((xmin, ymin), (xmax, ymax)), (zmin, zmax)]) and colors them with aColorFunction; here they ride as options.
Examples
About
| Examples | 1 |
|---|---|
| Crosswalk | Wolfram Language |
See also: GraphicsBox, PolygonBox