SharpPlot Reference > SharpPlot Methods > SetEquationNumericFormat Method

SharpPlot.SetEquationNumericFormat Method

Set Equation numeric format from a simple string or an array of strings.

A single string gives numeric formatter for all coefficients and correlation factors.

Otherwise, the first string gives the correlation factor numeric format, then the following strings give the numeric format for each coefficient, in ascending order of fit, X then Y.


sp.SetEquationNumericFormat(new string[]{"0.000","#.##E00","##.##x"});
// Correlation, Coefficient[0], Coefficient[1]


See also ...

Using Picture Formatters | Annotate Model fit | Model fit | SharpPlot Members | SharpPlot.EquationFormat Property

Send comments on this topic
© Dyalog Ltd 2021