EnableApproximation

EnableApproximation ();

Description

Connects adjacent non-NaN values.

Example

plot ZZ = ZigZagSign();
ZZ.EnableApproximation();

The first line of the code defines the ZZ plot as a reference to the ZigZagSign plot. The second line enables the approximation for the plot in order to connect separate reversal points with lines.