NonlinearFitControllerCreateOrReplaceFunctionPlotItems(XYPlotLayer, NonlinearFitDocument, NonlinearMinimizationResult, String, Boolean, Boolean, Double) Method |
Creates the or replace function plot items after a successful Levenberg-Marquardt-Fit.
Namespace: Altaxo.Gui.Analysis.NonLinearFittingAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static string CreateOrReplaceFunctionPlotItems(
XYPlotLayer xylayer,
NonlinearFitDocument doc,
NonlinearMinimizationResult fitResult,
string previousFitDocumentIdentifier,
bool showUnusedDependentVariables,
bool showConfidenceBands = false,
double confidenceLevel = 0
)
Parameters
- xylayer XYPlotLayer
- The XY-Plot Layer for which to replace the plot items.
- doc NonlinearFitDocument
- The fit document.
- fitResult NonlinearMinimizationResult
- The Levenberg-Marquardt fit adapter.
- previousFitDocumentIdentifier String
- The fit document identifier of the previous fit.
- showUnusedDependentVariables Boolean
- If set to true, shows the unused dependent variables of the fit, too.
- showConfidenceBands Boolean (Optional)
- If set to true, shows the confidence bands of the fit (next parameter is the confidence level).
- confidenceLevel Double (Optional)
- The confidence level (only used if showConfidenceBands is set to true).
Return Value
StringThe new identifier of the fit.
See Also