<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Hi and thank you Herbert for your awesome and continuous support...<div><br></div><div>I want to graph the function f(x,y) = x^4 + y^4 - 4xy + 1</div>
<div><br></div><div>So, above you'll find the code I'm using to plot the surface:</div><div><br></div><div><div>\documentclass{article}</div><div>\usepackage{pst-solides3d,pst-3dplot,pstricks-add,pst-plot,pstricks}</div>
<div>\begin{document}</div><div><div>\psset{unit=1}</div><div>\psset{viewpoint=150 500 375,Decran=600}</div><div>\psset{lightsrc=viewpoint} </div><div>\begin{pspicture}(-4,-2)(4,5)</div><div>\psSolid[object=grille,base=-3 3 0 3,linecolor=gray,ngrid=6 6,RotX=-90](0,-3,3)</div>
<div>\psSolid[object=grille,base=-3 3 -3 3,linecolor=gray,ngrid=6 6](0,0,0)</div><div>\psSolid[object=grille,base=0 3 -3 3,linecolor=gray,ngrid=6 6,RotY=90](-3,0,3)</div><div>\psSurface[tablez=0.8 0.01 4 {} for,  zcolor=.666 0,ngrid=72 72,linewidth=0.01pt,algebraic,hue=0.5 1,Zmin=0,Zmax=3](-3,-3)(3,3){(x^4)+(y^4)-(4*x*y)+1}</div>
<div>\psPoint(3.5,-3.5,3){a} \uput{2pt}[l](a){$\scriptstyle f\left(x,y\right)$}</div><div>\psPoint(0,3,0){a} \uput{15pt}[dr](a){$\scriptstyle x_1$}</div><div>\psPoint(3,0,0){a} \uput{15pt}[dl](a){$\scriptstyle x_2$}</div>
<div>\end{pspicture}</div></div><div>\end{document}</div></div><div><br></div></span><div><br></div><div>I'm doing it right, however if you check the function at x=3, y=3 (which is in the limits) f(3,3) = 127...</div>
<div><br></div><div>I want to graph just z values just between 0 and 3 like I'm trying to do with <span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Zmin=0,Zmax=3... however I think those Zmin, Zmax are used along with axesboxed... So, I want to "slice" the graph so the values are between the planes z=0 and z=3... Then, my question is:</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">How can I slice a plot surface?... or</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">How can I define an interval for z axis of the plot surface as well as X and Y intervals?</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></span></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; ">Thanks for anyone who can tell me something about this...</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; "><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; ">Also thanks Herbert. Bye!</span></font></div>
<br>-- <br>Att, <br><br>David Tarazona<br>Desarrollos Inteligentes - Mechcorp Ltda.<br>Tel: (57)(1) 700-6364<br>