HATCHCOLOR

Purpose:

Sets the color of 3D cross-hatching.

Syntax:

HATCHCOLOR(win, color)

win

-

Optional. A window, defaults to the current Window.

color

-

An integer. The color index.

Returns:

Nothing.

Example:

(x, y) = fxyvals(-2, 2, 0.1, -2, 2, 0.1);

cos(x*y);setplottype(4);hot();hatchcolor(LBLUE);

 

creates a shaded 3D plot of cos(x*y) with light blue cross-hatching.

Remarks:

HATCHCOLOR is distinct from the background GRIDCOLOR of a 3D plot.

See Also:

GRIDCOLOR

PLOT3D

SETPLOTTYPE