[pstricks] Question about mathematical expression with postscript.

Kay Lee aeronova at teramail.com
Fri Jun 3 16:38:43 CEST 2005


Hi all,

I got a problem related to postscript operators.
I'm trying to plot the follow equation:

1/(x-1)^2

I thought I can express the equation as

        \psplot[plotstyle=curve,%
        linecolor=blue]%
        {1}{2.0}%
        {1 1 x sub 2 exp div}

But, it does not work. :(
I'd appreciate it if someone can point out what I need to change.
Thanks.




More information about the PSTricks mailing list