[pstricks] Weird Graph

Markus markuskrebs at web.de
Thu Apr 15 07:57:16 CEST 2010


Hi!

I've got to plot a polynomial. But the greater the x-values got, the 
more weird looks the graph.

\documentclass{article}
\usepackage{pst-func,pstricks-add}
\begin{document}

\begin{pspicture}(-1,-1)(12,5)
\psaxes{->}(0,0)(-1,-1)(12,5)
\psplot[algebraic,linecolor=red,plotpoints=2000]{0}{12}{-(83/3628800)*x^10+(83/60480)*x^9-(271/7560)*x^8+(337/630)*x^7-(868979/172800)*x^6+(29719/960)*x^5-(45555487/362880)*x^4+(4964227/15120)*x^3-(2935221/5600)*x^2+(76345/168)*x-315/2}

\end{pspicture}
\end{document}

\psPolynomial[algebraic,coeff=-157.5 %
  +454.43452380952380952 %
  -524.14660714285714286 %
  +328.32189153439153439%
  -125.53870976631393298%
  +30.957291666666666667%
  -5.0288136574074074074 %
  +.53492063492063492063 %
  -0.035846560846560846561%
  +0.0013723544973544973545%
  0.000022872574955908289242%
]{0}{12}

Are there any quick solutions?

Thank's in advance.




More information about the PSTricks mailing list