使用 FLOT 创建正态分布(钟形曲线)图 [英] Create Normal Distribution (Bell Curve) chart using FLOT

查看:38
本文介绍了使用 FLOT 创建正态分布(钟形曲线)图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人试过用 FLOT 创建正态分布图吗?

如果是这样,您能否通过一些建议和教程链接为我指明正确的方向?

谢谢.

解决方案

FLOT 只是一个绘图引擎.如果要创建钟形曲线,则需要向概率密度函数提供一系列 x 值并绘制结果点.

例如,我使用 .

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.

解决方案

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.

这篇关于使用 FLOT 创建正态分布(钟形曲线)图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆