Run it with "vtkpython plotter_2d.py" (vtkpython is built by vtk when python
wrapping is turned on)
Enter a function of x and y into the box and press the "update" button to
draw the function. The Python "math" module has been imported, so you can use anything defined there.
Run it with "vtkpython plotter_3d.py". Enter a function of x, y and z in the box and press "update" to draw the function. The Python "math" module has been imported, so you can use anything defined there.
The "Manipulate cut plane" button brings up the white cube (seen in the left window in the screen shot). The cut plane can be translated by grabbing the plane, or rotated by grabbing the normal vector. Press the button again to make the white cube disappear.