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

peso=120; spesa=5.22
function f(x) { y =  spesa/peso*x  ; return y }

aX = 0; bX = 130; aY = 0; bY = 6
Dx = 10; Dy = 1/2

Q1x=[120]; Q1y=[f(120)]; Q2x=[100]; Q2y=[f(100)]
C1="red"; L1x=[0,120,120]; L1y=[f(120),f(120),0]
C2="green"; L2x=[0,100,100]; L2y=[f(100),f(100),0]

AX=BX=AY=BY=""

T0=["100",100,-0.3]; T1=["120",120,-0.3]; T2=["0",0,-0.3]; T3=["50",50,-0.3]; s0=["5.22",-10,5.22]
T4=["0",-5,0]; T5=["1",-5,1]; T6=["2",-5,2]; T7=["3",-5,3]; T8=["6",-5,6]
T9=["?",-8,f(100)] // s1=["4.35",-10,f(100)]