Puoi aprire il codice e modificarlo
HELP

...
aX = -3*Math.PI; bX =3*Math.PI; aY = -1.5; bY = 1.5
Dx = Math.PI/2; Dy = 1/2

titolo = "y = cos(x)  (blu),  y = cos(2x)  (verde)"
...
// 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 = Math.cos(x*2); return y }
function h(x) { y = 1/0; return y }
function k(x) { y = 1/0; return y }

Q1x=[Math.PI, Math.PI*2]; Q1y=[0,0]
...
// Puoi mettere fino a 10 scritte (S) in diverse posizioni (x,y) con T0=["S",x,y],...,T9=["S",x,y]
T1=["PI",3.5,-0.145]; T2=["2PI",6.68, -0.145]
...