[pstricks] pstricks-add

Henning Bredel henning.bredel at gmx.de
Tue Oct 3 10:04:10 CEST 2006


Herbert Voss schrieb:
> hamed alsulami wrote:
>
>   
>> I just updated my pstricks-add.tex from 2.73 to 2.79.
>>     
>
> current is 2.80 for the tex and 0.09 for the pro file.
>
>   
>> I tried the following file which is used to be working but this is what 
>> i got
>>     
>
> Seems to be a bug in the algorithm parser of pstricks-add.pro
>
> %\psplotTangent[linecolor=red,algebraic]{6}{3}{5+(9-(x-4)^2)^0.5}
> \psplotTangent[linecolor=red]{6}{3}{5 9 x 4 sub dup mul sub .5 exp add }
>   

Hi,

9-(x-4)^2  ==> 9 x 4 sub dup mul sub
                                        ^^^^^^
                                        does dup only doubles a term, so 
I have to add the operator mul?
I have in mind, that dup is for both doubling and multiplying (I didn´t 
use the PS-reduction in
mathterms before but I guess I read it somewhere).

Greets

Henning



More information about the PSTricks mailing list