CNiGraph::PlotXvsY

CNi

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

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

void PlotXvsY(
    const CNiVector& x,
    const CNiMatrix& y,
    bool plotPerRow);

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

Plots a matrix of data as one or more x-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 CNiVector& x

Common x data for all plots.

const CNiMatrix& y

Y data to plot.

bool plotPerRow

If true, the first row in the matrix contains the x data and subsequent rows contain the y data for each plot. If false, the first column in the matrix contains the x data and subsequent columns contain the y data for each plot.

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