[pstricks] mark zeros

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sun Jun 1 22:07:56 CEST 2008


Doris Wagner schrieb:

> the option markZeros of \psPolynomial seems to mark also the x- 
> coordinate of the minimum of the following parabola. is that a bug?

no :-)

> \documentclass[12pt]{scrartcl}%pstricks
> \textheight=27cm
> 
> \usepackage{pstricks}\usepackage{pst-func}
> 
> \begin{document}
> 
> \psset{unit=.7cm}
> \begin{pspicture*}(-6,-7)(6,30)
> 
> \psaxes 
> [arrowscale=2,Dx=5,dx=5,Dy=5,dy=5,linewidth=1.5pt,tickwidth=1.5pt]{->} 
> (0,0)(-5.9,-6.9)(5.9,29.5)
> \psset{dotsize=7pt}
> \psPolynomial[markZeros,linecolor=blue,linewidth=2pt,coeff=-6 -1 1,

   dZero=0.2,plotpoints=100]{-6}{6}

The zeros are found by the Steffensen algorithmn
http://mo.mathematik.uni-stuttgart.de/kurse/kurs54/seite39.html

Herbert



> 
> \end{pspicture*}
> 
> \end{document}
> 
> 
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> 




More information about the PSTricks mailing list