Yes, exactly that's what i'm looking for. Thank you so much... oh yes, 
for the information of the mailing list, the next image represents the 
change that results from adding <br>"tablez=0.8 0.01 4 {} for,  zcolor=.666 0" or "zcolor=any hue" to the options for \psSurface:<br><br><a target='_blank' href='<a href="http://img263.imageshack.us/i/fancyg.png/">http://img263.imageshack.us/i/fancyg.png/</a>'><img src='<a href="http://img263.imageshack.us/img263/1945/fancyg.th.png">http://img263.imageshack.us/img263/1945/fancyg.th.png</a>' border='0'/></a><br>
<br><span lang="en"><span title="">Oh yes, I just remembered</span></span>, how I can see the solids not in perspective but in orthogonal projection???<br>
<br>I appreciate again if you know how to do it...<br><br>thanks again for the support<br><br><div class="gmail_quote">2010/10/30 Herbert Voss <span dir="ltr"><<a href="mailto:Herbert.Voss@fu-berlin.de">Herbert.Voss@fu-berlin.de</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Am 30.10.2010 10:20, schrieb David Tarazona:<br>
<div class="im">> Hello, my problem is this<br>
> I'm sure you've seen the graphs generated by matlab using the surf command<br>
> that works like \ psSurface. My problem is that I couldnt change the hue<br>
> will not appear on the X axis, ie if i see a XY view is that the gradient is<br>
> about the X but I could not find a way to make the be degraded on the Y axis<br>
> or Z axis (which is how it shows matlab).<br>
> thanks to solve my doubt.<br>
> Another issue than I have is that i want the same hue/gradient/degraded for<br>
> 2 faces of the surface... The code of my function is:<br>
<br>
</div>please provide full working examples, not only fragments.<br>
<div class="im"><br>
> \psSurface<br>
> [ngrid=72 72,linewidth=0.01pt,algebraic,hue=0<br>
> 1](-3.1416,-3.1416)(3.1416,3.1416)<br>
> {(3-2*cos(x+y)-2*cos(x)+2*cos(y))^(1/2)}<br>
><br>
> if you see on the surface there are two "sub-peaks".If you graph this on<br>
> matlab you'll see that the "sub-peaks" can be easily differentiated of the<br>
> other parts of the surface like the maximum values thanks to the "color<br>
> gradient" through the Z axis, not through the X or Y axis, i mean, on matlab<br>
> you'll see by default the 2 sub-peaks on blue and the maximum values on<br>
> red...<br>
><br>
> I hope you understand what I mean...<br>
<br>
</div>no, I have no matlab ...<br>
Maybe, that your are looking for something like this:<br>
<br>
<br>
\documentclass{minimal}<br>
\usepackage{pst-eucl,pst-solides3d}<br>
\begin {document}<br>
<br>
<br>
\psset{Decran=20}<br>
\begin{pspicture}(-5,-3)(5,5)<br>
<div class="im">\psSurface[ngrid=72 72,linewidth=0.01pt,algebraic,<br>
</div>  tablez=0.5 .1 3.5 {} for,<br>
  zcolor=(Red) (Blue)](-3.1416,-3.1416)(3.1416,3.1416)%<br>
<div class="im">  {(3-2*cos(x+y)-2*cos(x)+2*cos(y))^(1/2)}<br>
</div>\end{pspicture}<br>
<br>
\end{document}<br>
<br>
Herbert<br>
_______________________________________________<br>
PSTricks mailing list<br>
<a href="mailto:PSTricks@tug.org">PSTricks@tug.org</a><br>
<a href="http://tug.org/mailman/listinfo/pstricks" target="_blank">http://tug.org/mailman/listinfo/pstricks</a><br>
archive: <a href="http://www.tug.org/pipermail/pstricks/" target="_blank">http://www.tug.org/pipermail/pstricks/</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Att, <br><br>David Tarazona<br>Desarrollos Inteligentes - Mechcorp Ltda.<br>Tel: (57)(1) 700-6364<br>