BeamerTheme/images/tikz.tex

27 lines
735 B
TeX

\documentclass[tikz, border=10pt]{standalone}
\begin{document}
\begin{tikzpicture}
% Draw the two thick lines l1 and l2
\draw[] (-3,0) -- (3,0) ; % Horizontal line l1 (very thick)
\draw[] (0,-3) -- (0,3) ; % Vertical line l2 (very thick)
% Draw the diagonal lines
\draw[thick] (-3,-1) -- (3,1); % Diagonal line
\draw[thick] (-3,1) -- (3,-1); % Diagonal line
% Add labels
\node at (2.5,0.5) {$l_1$}; % label for l1
\node at (2.5,-0.5) {$l_2$}; % label for l2
\node at (3.3,0) {$l_{x_2}$};
\node at (0,3.3) {$l_{x_1}$};
% Quadrant numbers
\node at (1,1.5) {1};
\node at (-1,1.5) {2};
\node at (-1,-1.5) {3};
\node at (1,-1.5) {4};
\end{tikzpicture}
\end{document}