Répondre à : Lecture graphique

Accueil Forums Programmation WIMS Programmation d’exercices OEF Lecture graphique Répondre à : Lecture graphique

#5059
Joël
Participant
Up
0
Down
::

Pour une deuxième courbe, il suffit de rajouter:


var graphS2=brd.create('functiongraph',[function(x){return -12+22*(Math.exp(12*(4*x+2)));},-10,10],{strokeColor:'green',strokeWidth:3});

Pour les axes:

xaxis = brd.create('axis', [[0, 0], [1,0]], {name:'x',withLabel: true,label: {position: 'rt', offset: [-15, 20]}	});

yaxis = brd.create('axis', [[0, 0], [0,1]], {name:'y',withLabel: true,label: {position: 'rt', offset: [-20, 0]}	});	

plus de possibilités sont décrites ici: intmath.com

Bon courage