![]() |
PlotXY()








Public Function |
Declared in: NiPlot.h |
Declaration
void PlotXY( const CNiMatrix& xy, bool xInFirstRow);
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.
Parameters
const CNiMatrix& xy
bool xInFirstRow
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.
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.