SharpPlot Tutorials > Style Examples > Skip repeated values

Skip repeated values

Multiple occurences of the same Y-value are treated as missing values.


sp.LineGraphStyle = LineGraphStyles.GridLines|LineGraphStyles.SkipRepeats|LineGraphStyles.Markers|LineGraphStyles.NoLines
sp.Heading = "Repeated Y-values are Treated as Missing";
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 2021