CNiGraph::PlotY

CNi

Class
CNiGraph::
PlotY()
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: PlotXYNext page: PlotY    
Public Function Declared in:
NiGraph.h

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

void PlotY(
    const CNiMatrix& y,
    double xFirst,
    double xInc,
    bool plotPerRow);

'Description' icon -- Shortcut to top of page. 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.

Shortcut to top of page. Parameters

const CNiMatrix& y

Y data to plot. The data is plotted either by row or by column, depending on the value of the DefaultPlotPerRow property.

double xFirst

X value for the first point in each plot.

double xInc

Amount to increment x for each new point.

bool plotPerRow

If true, the data in each row of y generates one plot. If false, the data in each column of y generates one plot.

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