Sull'asse verticale è rappresentata la frequenza percentuale unitaria (o densità)
On the y axis, the unitary percentage frequency (or density) is represented
(that is the percentage frequencies divided by the amplitude of each interval).
You can round the mean (taking into account the width of the intervals).

Puoi aprire il codice e modificare la funzione: vedi l'Help
You can open the Code and modify the function: see the Help
HELP

// I: estremi degli intervalli, P: frequenze
I=[0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
P=[ 5,  16, 38, 39, 63, 54, 43, 20, 16, 6 ]; NP=P.length

mean=48.756; sigma=19.384

Tot=0; for(i=0;i<NP;i=i+1) {Tot=Tot+P[i]}; for(i=0;i<NP;i=i+1) {P[i]=P[i]/Tot/(I[i+1]-I[i])}
LLx=[]; j=0; for(i=1;i<=NP;i=i+1) { LLx[j]=I[i-1]; LLx[j+1]=I[i-1]; LLx[j+2]=I[i]; LLx[j+3]=I[i]; j=j+4 }
LLy=[]; j=0; for(i=1;i<=NP;i=i+1) { LLy[j]=0; LLy[j+1]=P[i-1]; LLy[j+2]=P[i-1]; LLy[j+3]=0; j=j+4 }

aX = -10; bX = 110; aY = 0; bY = 0.025
Dx = 10; Dy = 0.005

function f(x) { y = 1/0; return y }
...
function f(x) { y = Math.exp( -Math.pow((x-mean)/sigma,2)/2) / Math.sqrt(2*Math.PI)/sigma; return y }

C1="green"
Q1x=[mean]; Q1y=[0]
L1x=LLx; L1y=LLy
...
AX=BX=AY=BY=""
BY = "Tot="+Tot
AY = "mean ~ "+mean