![]() |
Plot3DSurface()








Public Function |
Declared in: NiPlot3d.h |
Declaration
void Plot3DSurface( const CNiVector& x, const CNiVector& y, const CNiMatrix& Z, const CNiMatrix& W);
Description
Plots a matrix of data as a surface plot.
Notes:
1. The Z matrix provides the Z data for the surface while the x and y vectors provide the X-Y coordinate for the corresponding point in the Z matrix.
2. The W matrix provides the magnitude data, which the function uses to define the color assigned to each vertex in the plot.
3. See the CNiPlot3D overview for information about using date/time values.
Parameters
const CNiVector& x
const CNiVector& y
const CNiMatrix& Z
const CNiMatrix& W
x data to plot.
y data to plot.
Z data to plot.
Magnitude data.