Smoothing Scatter line chart

Share RGraph:   Share or Like RGraph on Facebook!

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Rob Blackin on 20th December 2015
Hi,

Line charts have a great option - spline which smooths curves.

I don't see such an option for scatter charts with lines.
What is the best way to smooth a scatter chart graph.

thanks,

Rob
Posted by Richard on 20th December 2015
Hi,

The Line chart uses Catmull-Rom splines to generate curvy lines - but that (I think - since only the Y points are given to the spline function) relies on having equally spaced points across the line - which isn't always a given on a Scatter chart.

Plus theoretically the line could double-back on itself (ie end up going in both directions).

So the spline wouldn't work on the Scatter I'm afraid.




Richard

Add a reply




« Back to message list