[pstricks] Weird Graph
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Thu Apr 15 09:34:02 CEST 2010
Am 15.04.2010 09:00, schrieb Herbert Voss:
> Am 15.04.2010 07:57, schrieb Markus:
>
>> I've got to plot a polynomial. But the greater the x-values got, the
>> more weird looks the graph.
>
> cannot see it with the same values as for \psplot:
forgot (as usual ;-) the attachement ...
Herbert
>
> \documentclass{article}
> \usepackage{pst-func}
> \begin{document}
>
> \begin{pspicture*}(-1,-1.5)(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}
> \psPolynomial[linecolor=blue,plotpoints=4000,coeff=
> -315 2 div
> 76345 168 div
> -2935221 5600 div
> 4964227 15120 div
> -45555487 362880 div
> 29719 960 div
> -868979 172800 div
> 337 630 div
> -271 7560 div
> 83 60480 div
> -83 3628800 div
> ]{0}{12}
> \end{pspicture*}
> \end{document}
>
> I didn't controlle the calculated values:
>
>> \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}
>
> Herbert
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x.png
Type: image/png
Size: 10573 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20100415/014324b0/attachment.png>
More information about the PSTricks
mailing list