I'm new to tikz and LaTeX in general, so sorry if this is a silly question. I'm looking to replicate this:
So far, I have the following.
\begin{tikzpicture}[x=1cm, y=1cm, z=-0.6cm]
% Axes
\draw [->] (0,0,0) -- (4,0,0) node [at end, right] {$x$};
\draw [->] (0,0,0) -- (0,4,0) node [at end, left] {$y$};
\draw [->] (0,0,0) -- (0,0,4) node [at end, left] {$z$};
% Vectors
\draw [->, thick] (0,0,0) -- (0,2,1);
\draw [->, thick] (0,0,0) -- (2,2,0);
\draw [loosely dashed] (0,0,1) -- (0,2,1);
\draw [loosely dashed] (0,2,0) -- (0,2,1);
\draw [loosely dashed] (2,0,0) -- (2,2,0);
\draw [loosely dashed] (0,2,0) -- (2,2,0);
% Labels
\node [left] at (0,2,1) {$\begin{bmatrix}
0\\2\\1
\end{bmatrix}$};
\node [right] at (2,2,0) {$\begin{bmatrix}
2\\2\\0
\end{bmatrix}$};
\end{tikzpicture}
It is missing the axis ticks and the orientation of the axes is different from the picture (although I guess mathematically it doesn't make too big of a difference). I've been reading the pgf manual and been looking through the forum, but I'm still stumped!



