CNiGraph3D::Plot3DSurface

3D Graph

Class
CNiGraph3D::
Plot3DSurface()
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: Plot3DSimpleSurfaceNext page: Plot3DSurface    
Public Function Declared in:
NiGraph3d.h

'Declaration' icon -- Shortcut to top of page. Declaration

void Plot3DSurface(
    const CNiVector& x,
    const CNiVector& y,
    const CNiMatrix& Z,
    const CNiMatrix& W);

'Description' icon -- Shortcut to top of page. 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 is used to define the color assigned to each vertex in the plot.

3. This function uses the first available plot from the CNiGraph3D.Plots collection that is marked as a multiplot. If there are no available plots, it adds a new plot with the MultiPlot property set to true.

4. See the CNiGraph3D overview for information about using date/time values.

Shortcut to top of page. Parameters

const CNiVector& x

1D array of X data.

const CNiVector& y

1D array of Y data.

const CNiMatrix& Z

2D array of Z data.

const CNiMatrix& W

Magnitude data.

'See Also' icon -- Shortcut to top of page. See Also