|
Contents | Previous | Next | Subchapters |
| Syntax |
gplot(x, y, z, style, "levels") |
| See Also | glevel , and gplot(x, y, z, style) |
z.
The values of z at which the colors change
are specified by the previous call to glevel
.
The corresponding color values are specified by the previous
call to gcolor
.
The arguments
x,
y, and
z,
have the same meaning as in
gplot(x, y, z)
.
The argument style has the same meaning as in
gplot(x, y, z, style)
.
ginit
y = {-1, 0, 1}
x = y
z = y
levels = {-.5, 0, .5}
colors = {"red", "black", "green", "blue"}
glevel(levels)
gcolor(colors)
gplot(x, y, z, "solid", "levels")
O-Matrix will generate a plot that changes color at
z = -.5, z = 0, and z = .5.
(Note that 4 colors are plotted, but there are only 3 color changes.)