feature: add latex sources of drawings

This commit is contained in:
Matthias Jung
2026-01-31 18:45:15 +01:00
parent d650329417
commit 9baada3a50
781 changed files with 150903 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
% Author: Michael Groni, DB7YI und Matthias Jung, DL9MJ
% Year: 2024
% TDMA für Klasse E
\def\simplecuboid#1#2#3#4#5{ % #1=t #2=f #3=P #4 = color #5 = deltaX
\fill[#4!70!white] ( 0+#5,#2, 0) -- (#1+#5,#2, 0) -- (#1+#5,#2,#3) -- ( 0+#5,#2,#3) -- cycle;
\fill[#4] ( 0+#5,#2,#3) -- (#1+#5,#2,#3) -- (#1+#5, 0,#3) -- ( 0+#5, 0,#3) -- cycle;
\fill[#4!60!white] (#1+#5,#2,#3) -- (#1+#5,#2, 0) -- (#1+#5, 0, 0) -- (#1+#5, 0,#3) -- cycle;
}
\def\simpleaxes#1#2#3{
\draw[-Triangle] (0,0,0) -- (#1,0,0) node[anchor=west]{$t$};
\draw[-Triangle] (0,0,0) -- (0,#2,0) node[anchor=south]{$f$};
\draw[-Triangle] (0,0,0) -- (0,0,#3) node[anchor=north east]{$P$};
}
\def\dashedaxes#1#2#3{
\draw[dashed] (0,0,0) -- (#1,0,0);
\draw[dashed] (0,0,0) -- (0,#2,0);
\draw[dashed] (0,0,0) -- (0,0,#3);
}
\begin{tikzpicture}
\simpleaxes{3.4}{3.4}{3.7}
\simplecuboid{1}{3}{3}{DARCorange}{0}
\simplecuboid{1}{3}{3}{DARCgray}{1}
\simplecuboid{1}{3}{3}{DARCblue}{2}
%\dashedaxes{3}{3}{3}
\end{tikzpicture}