Est-il possible d'obtenir un repère indirect autrement qu'en inversant $x$ et $y$ dans l'expression de la fonction $f(x;y)$ :
Code : Tout sélectionner
real f(pair z) {return 2*z.y^2-8*z.y+z.x^2-6*z.x+18;}
et de faire la même chose pour les axes ?
Code : Tout sélectionner
xaxis3(Label("$y$",MidPoint,align=-Z),
Bounds(Both,Min),OutTicks(Step=Dx,endlabel=true),p=blue);
yaxis3(Label("$x$",MidPoint,align=-Z),
Bounds(Both,Min),OutTicks(Step=Dy, step=0),p=red);
zaxis3(Label("$z$" ,MidPoint,align=-X),XYEquals(0,0),InTicks(Step=Dz, step=0,Label(align=Y)),p=1bp+.5green);
Maurice