Returns a new line chart by interpolating over the given fitted polynomial.

Namespace:  CenterSpace.NMath.Charting.Microsoft
Assembly:  NMathChartMicrosoft (in NMathChartMicrosoft.dll) Version: 5.1.0.0

Syntax

C#
public static Chart ToChart(
	PolynomialLeastSquares pls,
	DoubleVector x,
	DoubleVector y,
	int numInterpolatedValues
)
Visual Basic (Declaration)
Public Shared Function ToChart ( _
	pls As PolynomialLeastSquares, _
	x As DoubleVector, _
	y As DoubleVector, _
	numInterpolatedValues As Integer _
) As Chart
Visual C++
public:
static Chart^ ToChart(
	PolynomialLeastSquares^ pls, 
	DoubleVector^ x, 
	DoubleVector^ y, 
	int numInterpolatedValues
)

Parameters

pls
Type: CenterSpace.NMath.Analysis..::.PolynomialLeastSquares
A PolynomialLeastSquares object containing a least squares fit of a polynomial to the data.
x
Type: CenterSpace.NMath.Core..::.DoubleVector
The fitted x values.
y
Type: CenterSpace.NMath.Core..::.DoubleVector
The fitted y values.
numInterpolatedValues
Type: System..::.Int32
The number of interpolated values.

Return Value

A new chart.

See Also