I would like to replicate the following image
and I would like to know how to represent the third state into the page by using the tikz-3dplot package, maybe starting from the answer to a previous question of mine Drawing a simple plane in 3D space. How to draw the parallelogram in the figure?
This is the MWE
\documentclass{scrartcl}
\usepackage{tikz}
\usetikzlibrary{3d}
\begin{document}
\newcommand*\elevation{20}
\newcommand*\anglerot{-50}
\pgfmathsetmacro\xc{cos(\anglerot)}
\pgfmathsetmacro\xs{sin(\anglerot)}
\pgfmathsetmacro\yc{cos(\elevation)}
\pgfmathsetmacro\ys{sin(\elevation)}
\newcommand*\axexthreed{\xs*1cm,-\xc*1cm}
\newcommand*\axeythreed{\yc*1cm,-\ys*0cm}
\newcommand*\axezthreed{0cm,1cm}
\newcommand*{\arrowthreeD}[3]{%
\draw[#1!50!black,
ball color=#1,
shift = {#2},
rotate=#3]
(0,0) -- (75:.8mm) arc (75:105:.8mm)--cycle;
}
\begin{tikzpicture}[x = {(\axexthreed)},
y = {(\axeythreed)},
z = {(\axezthreed)},
scale = 4]
\begin{scope}[canvas is zy plane at x=0]
\end{scope}
\begin{scope}[canvas is zx plane at y=0]
\end{scope}
\begin{scope}[canvas is yx plane at z=0]
\end{scope}
\draw[dashed, ->] (0,0,0) -- (-.95,0,0) node[right=6pt] {\small state 3 (into the page)};
\draw[->] (0,0,0) -- (0,.95,0) node[right=6pt] {\small state 1};
\draw[->] (0,0,0) -- (0,0,.95) node[above=6pt] {\small state 2};
\end{tikzpicture}
\end{document}
But I could have omitted the scope commands. It is still unclear to me how to draw the parallelogram starting from two 3D vectors in the plane.


