[pstricks] different colour by using pst-solides3d

Marco Daniel marco.daniel at mada-nada.de
Wed Aug 11 21:08:55 CEST 2010


Hi,

In the following example the the fillcolor and the linecolor are equal 
but the result is different. Why?
%%%%%%%%%%%%%%%%%%%%
\setcounter{errorcontextlines}{100}
\documentclass{article}
\usepackage[cmyk]{pstricks}
\usepackage{pst-solides3d}
\begin{document}
\begin{pspicture}(5,5)
\psset{lightsrc=viewpoint, viewpoint=20 300 10 rtp2xyz,Decran=20,algebraic}
\psSurface[
  fillcolor=cyan,
  incolor=black!50,
% hue=0.542 0.546,
  ngrid=0.05 0.05,
  grid,
  action=draw**,
](-1,-1)(1,1){ x*y }
\psline[linecolor=cyan,linewidth=5pt](-1,-1)(1,1)
\end{pspicture}
\end{document}
%%%%%%%%%%%%%%%%%%%%


If you use hue you will get a similar colour.

Thanks and regards
Marco


More information about the PSTricks mailing list