Je ne pense pas que le problème est lié à Asymptote, mais comme la figure a été construite avec, je pose ma question sur ce forum.
Le code est le suivant :
*** Pour masquer/découvrir le code Asymptote qui a permis de créer la figure, il faut cliquer dessus. ;-) ***
- CODE ASYMPTOTE de la figure ci-dessus : Tout sélectionner
- import graph;
- usepackage("mathrsfs,esvect,fourier");
- arrowhead guillaumetellHead=HookHead(dir=10);
- guillaumetellHead.size=new real(pen p)
- {
- static real hcoef=5;
- return hcoef*arrowtexfactor*linewidth(p);
- };
- arrowbar guillaumetell=Arrow(guillaumetellHead);
- unitsize(1cm,1cm);
- real f (real x){return exp(x);}
- draw(graph(f,-4,5),0.8bp+black);
- xlimits(-5,5,Crop);
- ylimits(-1,4,Crop);
- pen ptick=gray(0.9);
- pen pTick=gray(0.7);
- pen p=fontsize(9pt);
- xequals(0,-1,4,0.8bp+black);
- yequals(0,-5,5,0.8bp+black);
- draw((0,0)--(1,0),linewidth(1.1bp),guillaumetell);
- draw((0,0)--(0,1),linewidth(1.1bp),guillaumetell);
- labelx("$O$",-0.2);
- label("$y=e^{x}$",(-2.5,f(-2.5)),2N);
- label("$\vv{i}$",(0.5,0),1.1*S);
- label("$\vv{j}$",(0,0.5),1.1*W);
Si j'imprime le document,j'obtiens une figure qui ressemble à peu de chose près à la suivante
*** Pour masquer/découvrir le code Asymptote qui a permis de créer la figure, il faut cliquer dessus. ;-) ***
- CODE ASYMPTOTE de la figure ci-dessus : Tout sélectionner
- import graph;
- usepackage("mathrsfs,esvect,fourier");
- arrowhead guillaumetellHead=HookHead(dir=10);
- guillaumetellHead.size=new real(pen p)
- {
- static real hcoef=5;
- return hcoef*arrowtexfactor*linewidth(p);
- };
- arrowbar guillaumetell=Arrow(guillaumetellHead);
- unitsize(1cm,1cm);
- real f (real x){return exp(x);}
- draw(graph(f,-4,5),0.8bp+black);
- draw((-4,f(-4))--(-4,f(log(4)))--(log(4),f(log(4)))); // Ligne ajoutée pour simuler le problème rencontré
- xlimits(-5,5,Crop);
- ylimits(-1,4,Crop);
- pen ptick=gray(0.9);
- pen pTick=gray(0.7);
- pen p=fontsize(9pt);
- xequals(0,-1,4,0.8bp+black);
- yequals(0,-5,5,0.8bp+black);
- draw((0,0)--(1,0),linewidth(1.1bp),guillaumetell);
- draw((0,0)--(0,1),linewidth(1.1bp),guillaumetell);
- labelx("$O$",-0.2);
- label("$y=e^{x}$",(-2.5,f(-2.5)),2N);
- label("$\vv{i}$",(0.5,0),1.1*S);
- label("$\vv{j}$",(0,0.5),1.1*W);
Merci.