Click or drag to resize

PolynomialFittingFit(IGraphController, Int32, Double, Double, Boolean) Method

Fits the active plot of the specified graph controller.

Namespace: Altaxo.Graph.Procedures
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static string? Fit(
	IGraphController ctrl,
	int order,
	double fitCurveXmin,
	double fitCurveXmax,
	bool showFormulaOnGraph
)

Parameters

ctrl  IGraphController
The graph controller.
order  Int32
The polynomial order.
fitCurveXmin  Double
The minimum x value of the fit curve.
fitCurveXmax  Double
The maximum x value of the fit curve.
showFormulaOnGraph  Boolean
If set to , the formula is shown on the graph.

Return Value

String
An error message, or if successful.
See Also