[m]\begin{pmatrix}
x & tg(3x) & y \\
-2\pi & 0 & 2 \\
-\frac{11\pi}{6} & - & - \\
-\frac{7\pi}{4} & -1 & 0 \\
-\frac{5\pi}{3} & 0 & 2 \\
-\frac{3\pi}{2} & - & - \\
-\frac{5\pi}{4} & 1 & 4 \\
-\frac{4\pi}{3} & 0 & 2 \\
-\frac{7\pi}{6} & - & - \\
- \pi & 0 & 2 \\
-\frac{5\pi}{6} & - & - \\
-\frac{3\pi}{4} & -1 & 0 \\
-\frac{2\pi}{3} & 0 & 2 \\
-\frac{\pi}{2} & - & - \\
-\frac{\pi}{3} & 0 & 2 \\
-\frac{\pi}{4} & 1 & 4 \\
-\frac{\pi}{6} & - & - \\
0 & 0 & 2 \\
\frac{\pi}{6} & - & - \\
\frac{\pi}{4} & -1 & 0 \\
\frac{\pi}{3} & 0 & 2 \\
\frac{\pi}{2} & - & - \\
\frac{2\pi}{3} & 0 & 2 \\
\frac{3\pi}{4} & 1 & 4 \\
\frac{5\pi}{6} & - & - \\
\pi & 0 & 2 \\
\frac{7\pi}{6} & - & - \\
\frac{5\pi}{4} & -1 & 0 \\
\frac{4\pi}{3} & 0 & 2 \\
\frac{3\pi}{2} & - & - \\
\frac{5\pi}{3} & 0 & 2 \\
\frac{7\pi}{4} & 1 & 4 \\
\frac{11\pi}{6} & - & - \\
2\pi & 0 & 2 \\
\end{pmatrix}[/m]
Где стоят минусы - там функция не существует.