Contents Previous Next Subchapters

Hiding Lines Behind A Contour Plot
Syntax contour(matrixlevelsxyzoption)
See Also mesh and surface

Description
Displays the contour plot specified by matrix , levels , x , y , z , and option in the current viewport , where option is equal to "surface" and specifies that lines behind the contour are hidden from view.

Example
If you enter
     ginit
     x      = seq(11) - 6
     y      = x'
     matrix = x * y
     levels = {-20, -10, -5, 0, 5, 10, 20}
     z      = .5
     option = "surface"
     contour(matrix, levels, x, y, z, option)
     grotate(30, 0, 50)
     gzaxis("linear", 0., 1.)
O-Matrix will generate the following plot: