SharpPlot Tutorials > Style Examples > Skip runs of repeated values

Skip runs of repeated values

Multiple occurences of the same Y-value are treated as missing values, but the first and last of each run are retained.


sp.LineGraphStyle = LineGraphStyles.GridLines|LineGraphStyles.SkipRuns|LineGraphStyles.Markers;
sp.Heading = "Runs of Identical Y-values are Unmarked";
sp.DrawLineGraph(col_SR,col_S2);

This style could be used to eliminate long runs of identical values, typical of many data-logging devices.


Send comments on this topic
© Dyalog Ltd 2016