Is there a way to make tikz draw in 3D, I am trying to draw vectors and axis in $ \mathbb{R}^3 $ (in the space), maybe not one that advanced since I am new at using latex.
this is a try for the axis:
\begin{tikzpicture}
\draw -latex--(8,4);
\draw -latex--(-4,-2);
\draw (9,4.5) node {X};
\draw -latex--(0,7);
\draw (0,7.5) node {Y};
\draw -latex--(8,-4);
\draw (9,-4.5) node {Z};
\end{tikzpicture}
but it is really inconvenient to draw vectors in there since its 2D, I have to calculate with perspective.
the specific problem i try to solve is to draw the position vector of a line, the line and (if it is possible) a plane that contains the line and is perpendicular to the vector, but the first two are my main objectives.


tikz-3dplotis one way to start. Theperspectivelibrary is another one. – Symbol 1 Sep 15 '21 at 03:16