[pstricks] Question about mathematical expression with postscript.

Johannes Engel j-engel at gmx.de
Fri Jun 3 16:57:01 CEST 2005


Kay Lee schrieb:

> 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.

The term is not defined in 1. So nobody can plot it there.

Greetings, Johannes




More information about the PSTricks mailing list