# [pstricks] colors

cyrille piatecki cyrille.piatecki at univ-orleans.fr
Fri Sep 19 16:28:02 CEST 2014

What is my mistake since I have no color for my cube

%&latex
\documentclass[12pt]{extarticle}

\begin{document}

\mbox{}
\vspace{5cm}

\begin{center}
\begin{pspicture}(-3,-3)(3,3)
%\psgrid
\psset{unit=1cm,viewpoint=90 60 40,Decran=200,fillcolor=cyan}
\axesIIID[axisnames={x_1,x_2,x_3}](1,1,1)(2.5,2.5,2.5)
\psSolid[object=new, action=draw,fillcolor=cyan,
incolor=red,show=all,num=all,mode=1,linecolor=blue,
sommets=
0 0 0
0 0 2
0 2 0
2 0 0
0 2 2
2 0 2
2 2 0
2 2 2,
faces={
[0 1 4 2]
[0 3 5 1]
[3 0 2 6]
[3 5 7 6]
[6 7 4 2]
[1 4 7 5]
}]%
\end{pspicture}
\end{center}

\end{document}

Thanks