CNiPlot::ChartXY

CNi

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

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

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

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

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

Notes:

1. This function is similar to the PlotXY function, except that the previously plotted data is not deleted until the amount stored for each chart is greater than the CNiGraph.ChartLength property.

2. 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.

3. 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