%@AUTEUR:Guillaume Connan
prologues:=2;
input courbes;
input geo;
color vert_e, turquoise, orange, vert_fonce, rose, vert_mer, bleu_ciel, or, rouge_v,bleu_m,bleu,bleu_f;
vert_e:=(0,0.790002,0.340007);
turquoise:=(0.250999,0.878399,0.815699);
orange:=(0.589999,0.269997,0.080004);
vert_fonce:=(0,1.4*0.392193,0);
rose:=(1.0, 0.752907, 0.796106);
bleu_ciel:=(1.2*0.529405,1.2*0.807794,1);%.2*0.921598);
or:=(1,0.843104,0);
rouge_v:=(0.829997,0.099994,0.119999);
bleu_m:=(0.7*0.529405,0.7*0.807794,0.7);%*0.921598);
bleu_f:=(0.211762,0.3231176,0.3686392);
bleu:=(0.529405,0.807794,1);
beginfig(1);
numeric u;
u=2.5cm ;
drawarrow (-1.2*u,0)--(1.2*u,0);
drawarrow (0,-1.2*u)--(0,1.2*u);
draw fullcircle scaled 5cm;
draw (0,0)--(u,(sind(45)/cosd(45))*u)withcolor 0.4white withpen pencircle scaled 1.5bp ;
draw (cosd(45)*u,0)--(cosd(45)*u,sind(45)*u) dashed evenly withcolor bleu_f withpen pencircle scaled 1.5bp ;
draw (u,-1.3*u)--(u,1.3*u) withcolor bleu_m withpen pencircle scaled 1.5bp ;draw((cosd45)*u,sind(45)*u)--(u,0);
drawarrow (0.22*u,0)..(0.22*cosd(45)*u,0.22*sind(45)*u);
dotlabel.llft(btex $0$ etex, (0,0));
dotlabel.lrt(btex $I$ etex, (u,0));
dotlabel.bot(btex $C$ etex, (cosd(45)*u,0));
dotlabel.rt(btex $T$ etex , (u,(sind(45)/cosd(45))*u));
dotlabel.top(btex $ $ etex,(cosd(45)*u,sind(45)*u));label.top(btex $M$ etex,(cosd(45)*u,sind(45)*1.1*u));
endfig;
end