# [pstricks] why no color ?

cyrille piatecki cyrille.piatecki at univ-orleans.fr
Fri Sep 19 16:14:33 CEST 2014

On  my computer,

in he following cube the faces are not colored. What is my mistake ?

%&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 for the help

Cyrille Piatecki