Sets the color of 3D cross-hatching.
HATCHCOLOR(win, color)
win |
- |
Optional. A window, defaults to the current Window. |
color |
- |
An integer. The color index. |
Nothing.
(x, y) = fxyvals(-2, 2, 0.1, -2, 2, 0.1);
sin(x*y);setplottype(4);pink();hatchcolor(seriesdarkred);

creates a shaded 3D plot of sin(x*y) with red cross-hatching.
HATCHCOLOR is distinct from the background GRIDCOLOR of a 3D plot.
See SETHATCH to control the hatch interval and direction.