[pstricks] tangential vector

Herbert Voss Herbert.Voss at FU-Berlin.DE
Thu Apr 9 22:50:51 CEST 2009


Martin Chicoine schrieb:
>> Here is a version that extends from -#2 to #3, with #1 being the x
>> point and
>> #4 being the function:
>>
>> \psplotTangent{#1}{#2}{#3}{#4}
>>
> 
> Of course, it is better to change the name:
> 
>     \documentclass{article}
>     
>     \usepackage{pstricks-add}
> 
>     \makeatletter
>     \def\psplotAsymTangent{\pst at object{psplotAsymTangent}}  
>     \def\psplotAsymTangent at i#1#2#3#4{%

Martin,
I changed this to
\psplotTangent{#1}{#2}{#3}%      default behaviour
\psplotTangent{#1}{#2,#3}{#4}%   #2,#3 the x interval

http://voss.homedns.org/packages/pstricks-add/pstricks-add.tex

Herbert



More information about the PSTricks mailing list