|
- %&tex
- \documentclass{standalone}
- \usepackage{tikz}
- \usepackage{siltex}
- \usetikzlibrary {arrows.meta,positioning}
- \input{graphics/tics.tikz}
-
- \begin{document}
- \begin{tikzpicture}[thick, on grid, x = 2.16cm, y = 2.16cm, >=Stealth]
- \draw(0,-0.1) pic {rail};
- \draw(0,2.6) pic {rail};
- \draw(0,0) pic {whiteboard};
- \begin{scope}[shift={(1,0)}]
- \draw[fill=gray!60] (-0.05,-0.1) rectangle (0.05,2.6);
- \draw[<->] (-0.3,-0.2) -- node[midway,below]{$x$} (0.3,-0.2);
- \begin{scope}[shift={(0,1.7)}]
- \draw[fill=gray!80] (-0.12,-0.15) rectangle (0.12,0.15);
- \draw[<->] (0.25,-0.25) -- node[midway,right]{$y$} (0.25,0.25);
- \end{scope}
- \end{scope}
- \end{tikzpicture}
- \end{document}
|