Voici ce que j'ai dans PdfAdd.
Code : Tout sélectionner
// préambule asymptote
usepackage("amsmath,amssymb");
usepackage("inputenc","utf8");
usepackage("icomma");
usepackage("mathrsfs");
// code figure
import graph;
unitsize(1cm,1cm);
xlimits(-6,4);
ylimits(-3,4);
xaxis(BottomTop,xmin=-6,xmax=4,Ticks("%",extend=true,Step=1),p=linewidth(0.5pt)+gray(0.4));
yaxis(LeftRight,ymin=-3,ymax=4,Ticks("%",extend=true,Step=1),p=linewidth(0.5pt)+gray(0.4));
real F(real x) {return 0.5*x^2-1.5;}
draw(graph(F,-6,4,n=400),linewidth(1pt)+blue+solid);
real G(real x) {return -0.5*x^2-2*x+1.5;}
draw(graph(G,-6,4,n=400),linewidth(1pt)+black+solid);
xlimits(-6,4,Crop);
ylimits(-3,4,Crop);
xaxis(axis=YEquals(0),xmin=-6,xmax=4,Ticks(scale(.7)*Label(),beginlabel=true,endlabel=true,begin=true,end=true,NoZero,Step=1,Size=1mm),p=linewidth(1pt)+black,true);
yaxis(axis=XEquals(0),ymin=-3,ymax=4,Ticks(scale(.7)*Label(),beginlabel=true,endlabel=true,begin=true,end=true,NoZero,Step=1,Size=1mm),p=linewidth(1pt)+black,true);
labelx(Label("$O$",NoFill), 0, SW);
draw(Label("$\vec{\imath}$",NoFill), (0,0)--(1,0),S,Arrow(2mm));
draw(Label("$\vec{\jmath}$",NoFill), (0,0)--(0,1),W,Arrow(2mm));
dot((0,0));
// code supplémentaire
label("$\mathscr{C}_f$",(2.3,3),NE,blue);
label("$\mathscr{C}_g$",(-5,-3),N);
shipout(bbox(0.1cm,0.1cm,white));