J'aimerai avoir un demi-cercle pour exclure un point d'une courbe et non un point vide, un peu à la manière d'un EndBra de la macro d'OG mais en arc de cercle.
Merci d'avance si vous avez une solution!
Bonne journée.
Nico
*** 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_pi;
- graphicrules(xunit=0.02cm, yunit=0.02cm,
- xmin=-10, xmax=175,
- ymin=-10, ymax=125,
- crop=Crop
- );
- //Fonction affine par morceaux
- real f(real x) {return x;}
- path Cf=graph(f,0,50,n=2);
- draw(Cf);
- real g(real x) {return x <=100 ? x-30 : (11x-50)/15;}
- path Cg=graph(g,50,175,n=1000);
- draw(Cg);
- xaxis(Arrow);
- yaxis(Arrow);
- dot((50,20));
- dot((50,50),UnFill);