PolynomialFittingFit(IGraphController, Int32, Double, Double, Boolean) Method |
Fits the active plot of the specified graph controller.
Namespace: Altaxo.Graph.ProceduresAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
StringAn error message, or
if successful.
See Also