graph - Bell chart with PHP -


i looking way create bell curve in php. have tried jpgraph, , lined scatter graph, have no idea how align bell curve.

honestly i've never used bell curve , i've got make 1 takes 3 inputs charity organization, have no idea how work, appreciated.

i have quite understanding of php , if possibly paste code, find way understand it.

simple bell curve

for ($x = -m_pi; $x <= m_pi; $x += (m_pi / 20)) {     echo sprintf('%+01.2f => %01.8f' . php_eol, $x, (cos($x) + 1) / 2); } 

but please explain 3 inputs: expected gaussian curve, mean, standard deviation , x value. bell curve special case of gaussian mean of 0 , standard deviation of 1, x value variable.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -