Create Normal Distribution (Bell Curve) chart using FLOT

社会主义新天地 提交于 2019-11-30 05:04:25

问题


Has anyone tried creating Normal Distribution chart using FLOT?

If so, can you please put me in a right direction with some suggestions and links to tutorial?

Thanks.


回答1:


FLOT is simply a plotting engine. If you want to create a Bell Curve, you need to feed a probability density function a series of x values and plot the resulting points.

For instance I used the functions from here to create this:

Here's the jsFiddle that shows my work.



来源:https://stackoverflow.com/questions/7911151/create-normal-distribution-bell-curve-chart-using-flot

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!