![]() |
PlotY()








Public Function |
Declared in: NiGraph.h |
Declaration
void PlotY( const CNiMatrix& y, double xFirst, double xInc, bool plotPerRow);
Description
Plots a matrix of data as one or more y plots.
Notes:
1. This function uses plots from the CNiGraph::Plots collection that are marked as multiplot. If there are not enough plots available, the function creates temporary plot objects that are deleted after this function executes.
2. See the CNiGraph overview for information about using date/time values.
Parameters
const CNiMatrix& y
double xFirst
double xInc
bool plotPerRow
Y data to plot. The data is plotted either by row or by column, depending on the value of the DefaultPlotPerRow property.
X value for the first point in each plot.
Amount to increment x for each new point.
If true, the data in each row of y generates one plot. If false, the data in each column of y generates one plot.