[pstricks] pst-func

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Fri Nov 5 13:07:15 CET 2004


Patrice Mégret wrote:

> I have downloaded on http://www.pstricks.de/ pst-func.tex and its 
> documentation pst-func-doc.tex.
> 
> Pst-func works well but I am not able to compile the documentation file 
> because the keys firstAbbr, … seem to missing in the file pst-func.tex 
> (version 0.35).

oh, sorry. Forget to update the doc. I changed it to the
key abbreviation=>number> to get _any_ abbreviation of
a ploynomial function.

The following example, show how it works. But I am not sure,
if I deleted some changes in the pst-func.tex for the
abbreviation. Please try and let me know if something went wrong.

Herbert


\begin{center}
\psset{yunit=0.5cm,xunit=2cm}
\begin{pspicture*}(-3,-5)(3,10)
   \psaxes[Dy=2]{->}(0,0)(-3,-5)(3,10)
   \psset{linewidth=1.5pt}
   \psPolynomial[coeff=-2 1 -1 .5 .1 .025 .2 ,linecolor=magenta]{-2}{4}
   \psPolynomial[coeff=-2 1 -1 .5 .1 .025 .2 ,linecolor=red,%
     linestyle=dashed,Abbreviation=1]{-2}{4}
   \psPolynomial[coeff=-2 1 -1 .5 .1 .025 .2 ,linecolor=blue,%
     linestyle=dotted,Abbreviation=2]{-2}{4}
   \rput[lb](2,4){\textcolor{magenta}{$h(x)$}}
   \rput[lb](1,1){\textcolor{red}{$h^{\prime}(x)$}}
   \rput[lb](-1,6){\textcolor{blue}{$h^{\prime\prime}(x)$}}
\end{pspicture*}
\end{center}




-- 
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes




More information about the PSTricks mailing list