[pstricks] psplottangent
Dehaes
jdehaes at ulb.ac.be
Tue Oct 18 14:59:56 CEST 2005
Hello,
A few weeks ago, I had a problem with psplotTangent when xunit and yunit
were different. Herbert solved the problem by a modification to
pstricks-add.
Now with the newer version (2.70) of this package, the problem reappears: le
tangent is not tangent to the curve.
The version 2.62 is OK.
Jean-Claude
\listfiles
\documentclass{scrartcl}
\usepackage{pst-func,pst-math}
\usepackage{pstricks-add}
\begin{document}
\begin{center}
\psset{xunit=2,yunit=1}
\begin{pspicture}(0,0)(2,5)
\def\FF{x dup mul}
\def\dFF{x 2 mul}
\psaxes[Dx=0.5,Dy=1](0,0)(2,5)
\psplot[linecolor=red,linewidth=1.5pt]{0}{2}{\FF}
\psplotTangent{1}{1}{\FF}\psdot(! 1 /x 1 def \FF)
\end{pspicture}
\end{center}
\begin{center}
\psset{xunit=10,yunit=0.2}
\begin{pspicture}(2.5,10)(3.5,35)
\def\F{x ENeperian exch exp}
\def\dF{x ENeperian exch exp}
\psaxes[Dx=0.1,Dy=5,Ox=2.5,Oy=10](2.5,10)(3.5,35)
\psplot[linecolor=red,linewidth=1.5pt]{2.5}{3.5}{\F}
\psplotTangent[showpoints=true,Derive=\dF]{3}{0.1}{\F}
%\uput[-90](9,0){$x$}
%\uput[180](0,7){$y=f(x)$}
\end{pspicture}
\end{center}
\end{document}
scrartcl.cls 2004/09/16 v2.9t LaTeX2e KOMA document class
scrlfile.sty 2004/09/16 v2.9t LaTeX2e KOMA package
size11.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
typearea.sty 2004/09/16 v2.9t LaTeX2e KOMA package
pst-func.sty 2004/10/18 package wrapper for pst-func.tex (hv)
pstricks.sty 2005/06/02 v0.24 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2005/09/08 v1.11 `PSTricks' (tvz)
xcolor.sty 2005/10/15 v2.06 LaTeX color extensions (UK)
color.cfg 2001/08/31 v1.1 color configuration of teTeX/TeXLive
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pst-func.tex 2005/09/23 v0.41 `PST-func' (hv)
pst-xkey.tex 2005/02/22 v1.5 PSTricks specialization of xkeyval (HA)
xkeyval.sty 2005/07/10 v2.5c package option processing (HA)
xkeyval.tex 2005/07/10 v2.5c key=value parser (HA)
pst-math.sty 2004/03/20 package wrapper for PSTricks pst-math.tex
pstricks-add.sty 2005/03/03 package wrapper for pstricks-add.tex (hv)
pstricks-add.tex 2005/10/18 v2.70 `PSTricks-add' (hv)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20051018/e528d085/attachment.html
More information about the PSTricks
mailing list