|
Contents | Previous | Next | Subchapters |
| Syntax |
mesh(z, color option, x, y, style)z, color option, x, y, style) |
| See Also | gstyle , and mesh(z, color option, x, y) |
ginit
x = -5. : 1. : 5.
y = x'
z = x * y / 10.
glevel({-1.2, -.6, .6, 1.2})
gcolor({"red", "green", "black", "lime", "blue"})
gxtitle("x")
gytitle("y")
gztitle("z")
gstyle("solid", 1, 20)
surface(z, "blue", x, y, "star")
O-Matrix will plot the star symbol at the points
(x , y , z ) for i = 1 , ... , m and j = 1 , ... n
i j i,j
where m and n are the row and column dimensions
of z respectively.
The stars that are behind the surface will be hidden because this
is a surface plot instead of a mesh plot.
The argument 20 to gstyle
determines the size of the
star symbols and the other arguments have no effect in this plot.