I have:
Code: Select all
\documentclass[11pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{tikz,tikz-3dplot}
\begin{document}
{\Large{$C=$}}
\begin{tikzpicture}
[cube/.style={very thick,black},
grid/.style={very thin,gray},
axis/.style={->,blue,thick}]
%draw the axes
\draw[axis] (2,2,2) -- (6,2,2) node[anchor=west]{$y$};
\draw[axis] (2,2,2) -- (2,6,2) node[anchor=west]{$z$};
\draw[axis] (2,2,2) -- (2,2,4.5) node[anchor=west]{$x$};
%draw the front of the cube
\draw[cube] (0,0,4) -- (0,4,4) -- (4,4,4) -- (4,0,4) -- cycle;
%draw the edges of the cube
\draw[cube] (0,0,0) -- (0,0,4);
\draw[cube] (0,4,0) -- (0,4,4);
\draw[cube] (4,0,0) -- (4,0,4);
\draw[cube] (4,4,0) -- (4,4,4);
\draw[cube] (0,0,0) -- (0,4,0);
\draw[cube] (4,4,0) -- (4,0,0);
\draw[cube] (0,4,0) -- (4,4,0);
\draw[cube] (0,0,0) -- (4,0,0);
\end{tikzpicture}
Figure 1
\end{document}
Thanks