%@AUTEUR:Guillaume Connan

prologues:=2;

verbatimtex
%&latex
\documentclass{article}
\usepackage[upright]{fourier}
\begin{document}
etex

input geometriesyr16

figure(-10cm,-5cm,12cm,10cm);
pair i,j;
u:=0.7cm;
i=(2u,0u);
j=(0.2u,1u);
transform T,R;
T=identity shifted i;
R=identity shifted j;
z0=(0,0);
z33=z0 shifted 4i;z4= z0 shifted -i;
z5=z0 shifted 4j; z6= z0 shifted -j;
 
draw z4--z33 withcolor blue; draw z6--z5 withcolor blue;
z7=z0 shifted i;z8=z0 shifted j;
label.bot(btex $\overrightarrow{v}$ etex, 0.5[z0,z7]);
label.lft(btex $\overrightarrow{v}$ etex, 0.5[z0,z8]);
drawarrow z0--z7;
drawarrow z0--z8;
 
z1=(4u,1u);
z2=z1 shifted 1.5i;
z3=z2 shifted 2j;
drawarrow z1--z2 dashed evenly withcolor green;
drawarrow z2--z3 dashed evenly withcolor green;
drawarrow z1--z3 withcolor red;
label.llft(btex $O$ etex, z0);
label.bot(btex $x\overrightarrow{u}$ etex, 0.5[z1,z2]);
label.rt(btex $y\overrightarrow{v}$ etex, 0.5[z2,z3]);
label.top(btex $\overrightarrow{t}$ etex, 0.5[z1,z3]);

z9=z0 shifted 1.5i;
z10=z0 shifted 2j;
z11= z0 shifted 1.5i+2j;
draw z9--z11 dashed evenly withcolor green;
draw z10--z11 dashed evenly withcolor green;
drawarrow z0--z11 withcolor red;
label.top(btex $M(x;y)$ etex, z11);
label.top(btex $\overrightarrow{t}$ etex, 0.5z11);
fin;

end