Puoi aprire il codice e modificarlo
HELP
...
aX = -2*Math.PI/2; bX = 6*Math.PI/2; aY = -1.5; bY = 1.5
Dx = Math.PI/2; Dy = 1/2
titolo = "y = cos(x) (blu), y = sin(x) (rosso)"
...
// modifica la definizione della funzione di cui volessi tracciare il grafico (f blu, g verde, h rosso, k arancione)
// Esempi: y=2*x+5 y=x*x/3 y= Math.sqrt(x-5)*10+3 y= Math.pow(x,3) (=x^3) y= Math.sin(x/360*Math.PI)
function f(x) { y = Math.cos(x); return y }
function g(x) { y = 1/0; return y }
function h(x) { y = Math.sin(x); return y }
function k(x) { y = 1/0; return y }
C0=C1=C2="green"
L0x=[-Math.PI, 0]; L0y=[-1.5, 1.5]
L1x=[Math.PI, 0]; L1y=[-1.5, 1.5]
L2x=[1, -1]; L2y=[1, 1]
Q0y=[0,0,1]; Q0x=[-Math.PI/2, Math.PI/2, 0]
...
// Puoi mettere fino a 10 scritte (S) in diverse posizioni (x,y) con T0=["S",x,y],...,T9=["S",x,y]
T0=["PI", Math.PI+0.35,0.15]
// 10 scritte di piccole dimensioni con s0=["S",x,y],.., s9=["S",x,y]
s0=s1=s2=s3=s4=s5=s6=s7=s8=s9=""
s0=["PI/2",Math.PI/2-0.4,-0.2]
s1=["2PI", 2*Math.PI+0.4,-0.2]
s2=["-PI/2", -Math.PI/2-0.47,0.15]
...
AX=BX=AY=BY=""
BY = titolo
AAY=aY; BBY=bY
AY="Dx = PI/2"
AAX="-PI"; BBX="3*PI"
...
linew=1.5
...