latex-pictures

A collection of TikZ drawings and other images 🖌️

cube.tikz (426B)

 1 % This picture represents a cube
 2 % Copyright Pablo (C) 2021
 3 \begin{tikzpicture}
 4   \draw (0,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
 5   \draw (0,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
 6   \draw[dotted, shift={(-1, 0)}] (0,0,-1) -- ++(0,-1,0) -- ++(0,0,1);
 7   \draw (0,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
 8   \draw[dotted, shift={(0, -1)}] (-1,0,-1) -- ++(1,0,0);
 9 \end{tikzpicture}