I want to
scale
the second line of thistikzpicture
to be smaller than the first row.I want to label the
Tikzpicture
just as the question Stacking 3D Cubes with Spacing
...
\documentclass[10pt, xcolor = {dvipsnames}]{beamer}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\begin{scope}[local bounding box=first row]
\begin{scope}[local bounding box =vector]
\draw[white, fill = Cyan] (0,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (0,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (2.2,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\end{scope}
\begin{scope}[xshift=4cm, local bounding box = matrix]
\draw[white, fill = Cyan] (0,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (0,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (2.2,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,1.1,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,1.1,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (0,1.1,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,1.1,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,1.1,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (1.1,1.1,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,1.1,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,1.1,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (2.2,1.1,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,2.2,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,2.2,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (0,2.2,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,2.2,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,2.2,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (1.1,2.2,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,2.2,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,2.2,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (2.2,2.2,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\end{scope}
\begin{scope}[xshift=8cm, local bounding box = matrix]
\draw[white, fill = Cyan] (0,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (0,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (2.2,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,1.1,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,1.1,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (0,1.1,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,1.1,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,1.1,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (1.1,1.1,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,1.1,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,1.1,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (2.2,1.1,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,2.2,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,2.2,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (0,2.2,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,2.2,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,2.2,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (1.1,2.2,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,2.2,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,2.2,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (2.2,2.2,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\end{scope}
\end{scope}
\begin{scope}[yshift=-5.5cm,local bounding box=data frame]
\begin{scope}[local bounding box =vector]
\draw[white, fill = Cyan] (0,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (0,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\end{scope}
\begin{scope}[xshift=3cm, local bounding box =vector]
\draw[white, fill = Cyan] (0,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (0,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,1.1,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,1.1,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (0,1.1,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,2.2,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,2.2,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (0,2.2,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\end{scope}
\begin{scope}[xshift=5cm, local bounding box = matrix]
\draw[white, fill = Cyan] (0,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (0,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (2.2,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,1.1,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,1.1,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (0,1.1,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,1.1,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,1.1,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (1.1,1.1,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,1.1,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,1.1,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (2.2,1.1,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,2.2,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,2.2,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (0,2.2,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,2.2,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,2.2,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (1.1,2.2,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,2.2,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,2.2,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (2.2,2.2,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\end{scope}
\begin{scope}[xshift=9cm, local bounding box = matrix]
\draw[white, fill = Cyan] (0,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (0,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (1.1,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,0,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,0,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (2.2,0,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,1.1,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,1.1,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (0,1.1,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,1.1,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,1.1,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (1.1,1.1,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,1.1,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,1.1,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (2.2,1.1,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,2.2,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (0,2.2,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (0,2.2,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,2.2,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (1.1,2.2,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (1.1,2.2,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,2.2,0) -- ++(-1,0,0) -- ++(0,-1,0) -- ++(1,0,0) -- cycle;
\draw[white, fill = Cyan] (2.2,2.2,0) -- ++(0,0,-1) -- ++(0,-1,0) -- ++(0,0,1) -- cycle;
\draw[white, fill = Cyan] (2.2,2.2,0) -- ++(-1,0,0) -- ++(0,0,-1) -- ++(1,0,0) -- cycle;
\end{scope}
\end{scope}
\end{tikzpicture}
\end{document}
What I Want
Edit
Edit for whatever changes you want on my code. Do not write a different code please.