%@AUTEUR:Guillaume Connan prologues:=2; verbatimtex %&latex \documentclass{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \begin{document} etex 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); % REPRESENTATION COMPLEXE beginfig(1); drawarrow (-5cm,0)--(5cm,0) withcolor bleu_m withpen pencircle scaled 1.5bp; drawarrow (0,-1.5cm)--(0,2.5cm) withcolor bleu_f withpen pencircle scaled 1.5bp ; label.urt(btex \boldmath $M(a,b)$\unboldmath etex, (3cm,1.5cm))withcolor 0.6white dashed evenly; draw (3cm,-0.2cm)--(3cm,0.2cm)withcolor 0.6white; draw (-0.2cm,1.5cm)--(0.2cm,1.5cm) withcolor 0.6white; dotlabel.urt(btex $ $ etex, (3cm,1.5cm)); draw (0,1.5cm)--(3cm,1.5cm)--(3cm,0) withcolor 0.6white dashed withdots withpen pencircle scaled 1.5bp; drawarrow (0,0)--(1cm,0) withcolor bleu_m withpen pencircle scaled 3bp; drawarrow (0,0)--(0,1cm) withcolor bleu_f withpen pencircle scaled 3bp; label.bot(btex $\overrightarrow{e_1}$ etex,(0.5cm,-0.2cm))withcolor bleu_m; label.lft(btex $\overrightarrow{e_2}$ etex,(-0.2cm,0.5cm)) withcolor bleu_f dashed evenly; drawarrow (0,0)--(3cm,1.5cm) withcolor 0.6white withpen pencircle scaled 1.5bp; label.bot(btex $a$ etex,(3cm,-0.2cm))withcolor bleu_m; label.lft(btex $b$ etex,(-0.2cm,1.5cm)) withcolor bleu_f dashed evenly; label.llft(btex $0$ etex,(-0.2cm,-0.2cm)); label.bot(btex \textbf{axe réel} etex,(5cm,-0.2cm))withcolor bleu_m withpen pencircle scaled 1.5bp; label.lft(btex \textbf{axe imaginaire} etex,(0cm,2.5cm))withcolor bleu_f withpen pencircle scaled 1.5bp; label.ulft(btex \boldmath$\overrightarrow{u}$\unboldmath etex, (1.5cm,0.75cm))withcolor 0.6white; endfig; end