Is a Bell curve possible?

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« 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 Peter on 8th October 2013
i am trying to create a bell curve based on a set of data points, i need to plot the points on the graph and overlay the bell curve after.

I know have to draw on the canvas, how to merge graphs but what i can not figure out is how to draw the curve.

Any help with this would be appreciated.

Thanks
Posted by RGraph support on 8th October 2013
Hi there,

Assuming you're using the Scatter chart then creating a curve would depend on your data. For example this URL (which is not currently active) shows trigonometry curves and is curvy because there enough points which have slight changes in their Y values.

www.rgraph.net/demos/scatter-negative-x-axis.html


Using the Line chart you could use the chart.spline option (like the Line chart on the front page does) - though the Line chart doesn't do X/Y data - only a series of X values.



Richard, RGraph Support
Please remember to link to the RGraph website

Help support RGraph - single site license only £99
   www.rgraph.net/license#single-site

Add a reply




« Back to message list