[pstricks] Question about mathematical expression with postscript.

Mike Chinander mchinand at uchicago.edu
Fri Jun 3 16:53:24 CEST 2005


It probably doesn't like it when x=1

On Fri, 3 Jun 2005, Kay Lee wrote:

> 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