Page 1 of 1

Le code Latex

    
\documentclass{standalone}
\standaloneconfig{border=2mm 2mm 2mm 2mm}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}[scale=1.00]
  \coordinate (A) at (1,1);
  \coordinate (B) at (3,2);
  \node[below left, font=\tiny] at (A) {$A$};
  \node[above right, font=\tiny]  at (B) {$B$};

  % aller horizontalement de A vers xB puis vers B then (cycle)  back to A
  \draw[blue] (A) -| (B) -- cycle;

  % aller verticallement  de A vers yB puis vers B
  \draw[red]  (A) |- (B);

\end{tikzpicture}
\end{document}
    


Leave a comment if you like this content أترك تعليقا إن أعجبك المحتوى

Class: Figures
Views:  252




0 Comments, Latest

No comments yet. Be the first to Comment

Most viewed courses: