[pstricks] Defining a maxmum and minimum point
LaTeX at zedat.fu-berlin.de
Sun Apr 8 18:32:10 CEST 2007
Arne Hallam wrote:
> So I am going to answer part of my own question.
> I read a bit more carefully in the PST-3dplot manual and found a couple
> of pages I had missed. So I am part of the way there.
> In the code below I seem to be making a mistake in the definition of the
> function so that it points down instead of up. I cannot see anything
> obvious in my function definition.
> z= 2(5x +4y -2x^2 +xy -y^2) -6x - 2y
there was an error in your math expression. Delete the hiddenLine
option if you do not it.
$z= 2(5x +4y -2x^2 +xy -y^2) -6x - 2y$
x 5 mul
y 4 mul add
x dup mul 2 mul sub
x y mul add
y dup mul sub
x 6 mul sub
y 2 mul sub}
More information about the PSTricks