Reference > Properties > EquationStyle Property

SharpPlot.EquationStyle Property

When the equation of a curve is written on the line (chart style ‘modelfit,annotate’) the default is to place it above the curve, at the right-hand end. The placement and appearance can be modified with this property.

public EquationStyles EquationStyle {get; set;}

Example

sp.EquationStyle = EquationStyles.Middle;

Options

AbsolutePosition is interpreted as (x,y) in points
AtEndOutside the line at the right-hand end
BelowBelow the line
ForceOriginForce fitted line through the origin
LeftLeft end of fitted line
LinearFitForce a linear equation even if we have logarithmic axes
MiddleMiddle of fitted line
OpaqueOpaque background to text
PercentagePosition is interpreted as (x,y) in percentage of axes
PlacementPlacement and other options for model-fit equation
SpanDataFitted line spans data range, not X-axis
StraddleStraddling the line

See also ...

SharpPlot Members | Equation Property


Send comments on this topic
© Dyalog Ltd 2013