Samples : gpsmp5.cpp
surface(z,m,n) |
Create a surface plot of the values of z. |
|
Create a surface plot of the values of z. Use the values in arrays x and y for the axis. |
surface() |
Recreate surface plot. Often called after resetting the surface viewing parameters. |
| z is a 2 dimensional C++ double array of size m by n. x and y are C++ double arrays of size m and n repectively. | |
| setSurfaceViewPoint(vx,vy,vz) | Sets the viewpoint to (vx,vy,vz). Default = (-231,320,200) |
| setSurfaceFocus(fx,fy,fz) | Sets the focus point to (fx,fy,fz). Default = (20,20,0) |
| setSurfaceScaleFactor(s) | Sets the scale factor to s. Default = 1.0 |
| vx,vy,vz,fx,fy,fz are of type double. | |