Empty graphics when using Hue in bitmap?
1 answer
The documentation Raster
states that its arguments are not graphics directives (e.g. Hue, RGBColor), but rather numbers - gray level (single number), RGB values (three numbers), RGBalpha values (four numbers), or gray alpha values (two numbers) ... However, it provides the ability to specify a color function instead, for example:
Graphics[Raster[{{0, 0.2, 0.4}, {0.6, 0.8, 1}}, ColorFunction -> Hue]]
(straight from documentation for v6)
+4
a source to share