\documentclass[tikz,border=3mm]{standalone}
\usepackage{tikz-3dplot}
\usetikzlibrary{decorations.markings}
\tikzset{->-/.style={decoration={% https://tex.stackexchange.com/a/39282/194703
markings,
mark=at position #1 with {\arrow{>}}},postaction={decorate}},
->-/.default=0.5}
\begin{document}
\tdplotsetmaincoords{70}{125}
\begin{tikzpicture}[tdplot_main_coords,line cap=round,>=stealth]
\draw (-3,0,0) -- (3,0,0) node[pos=1.05]{$x$};
\draw (0,-3,0) -- (0,3,0) node[pos=1.05]{$y$};
\draw (0,0,-3) -- (0,0,3) node[pos=1.05]{$z$};
\draw (2,0,0) node[below]{$2$} -- ++ (0,0,0.15)
(0,2,0) node[below]{$2$} -- ++ (0,0,0.15)
(0,0,-2) node[right]{$-2$} -- ++ (0,-0.15,0)
(0,0,2) node[right]{$2$} -- ++ (0,-0.15,0);
\draw[very thick,->-=0.7] (-1.5,3.5,-3) -- (1.5,0.5,3);
\end{tikzpicture}
\end{document}
![在此处输入图片描述](https://i.stack.imgur.com/cQAaF.png)