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

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -