[pstricks] Question about mathematical expression with postscript.

Kay Lee aeronova at teramail.com
Fri Jun 3 19:04:31 CEST 2005


Thanks all, I better be careful to use 'div'. :)
Markus Krebs wrote:

> Hi!
>
> Your term 1/(x-1)^2 is undefined for x = 1, but You try to plot it 
> (Dvision by 0)
>
> Try
>
>        \psplot[plotstyle=curve,%
>        linecolor=blue]%
>        {1.1}{2.0}%
>        {1 1 x sub 2 exp div}
>
> Markus
>
>
> At 16:38 03.06.2005, you 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.
>>
>> _______________________________________________
>> pstricks mailing list
>> pstricks at tug.org
>> http://tug.org/mailman/listinfo/pstricks
>
>




More information about the PSTricks mailing list