CNiPlot::PlotXY

CNi

Class
CNiPlot::
PlotXY()
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: PlotXvsYNext page: PlotXY    
Public Function Declared in:
NiPlot.h

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

void PlotXY(
    const CNiMatrix& xy,
    bool xInFirstRow);

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

Plots a matrix of data as an X-Y plot.

Notes:

1. Use the Plot and Chart functions on a CNiPlot object if you want to modify a single plot without affecting the other plots. Use the Plot and Chart functions on the CNiGraph object if you want to modify all existing plots.

2. See the CNiPlot overview for information about using date/time values.

Shortcut to top of page. Parameters

const CNiMatrix& xy

X-Y data to plot.

Note: If xInFirstRow is true, the matrix must contain exactly two rows. If xInFirstRow is false, the matrix must contain exactly two columns.

bool xInFirstRow

If true, the first row of the matrix contains the X data and the second row contains the Y data. If false, the first column contains the X data and the second column contains the Y data.

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