2

Using the TikZ 3D library, I would like to reproduce the following image:

enter image description here

Some details:

  • the planes have an arbitrary angle;
  • they are parallel and opaque;
  • the arrow segment is orthogonal to the plane surfaces.

I only found examples with single figures, like this one or this one, but they didn't help here. What could be the correct approach to realize the above image?

6

enter image description here

You can adjust the rotation angle(s) in \tdplotsetrotatedcoords{0}{20}{0} to your needs.

\documentclass[tikz,border=3.14pt]{standalone}
\usepackage{tikz-3dplot}
\begin{document}
\tdplotsetmaincoords{70}{30}
\begin{tikzpicture}[tdplot_main_coords]
\tdplotsetrotatedcoords{0}{20}{0}
    \begin{scope}[tdplot_rotated_coords]
\coordinate (O) at (0,0,0);
\foreach \Z in {1,2,3,4}
{
\draw[fill=blue] (-3,-3,\Z) -- (-3,3,\Z) -- (3,3,\Z) -- (3,-3,\Z) -- cycle;
}
\draw[thick,-latex] (0,0,4) -- (0,0,7);
\end{scope}
\end{tikzpicture}
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.