[pstricks] Plotting a function

Cosi Lein cosi_lein at gmx.net
Sun Jun 1 15:24:30 CEST 2008

Dear list,

I want to plot this function:

-0.005x^2+600x-20000

Unfortunately it doesn't work and I have no idea why not, because I
plotted some functions earlier without problems. Here is what I've done:

\documentclass{article}
\pagestyle{empty}
\usepackage{pst-all,
%          pstricks,
%          pst-node,
pst-3dplot,
%          pst-tree,
amsmath,
booktabs,
ngerman}

\begin{document}
\psset{xunit=1cm,yunit=1cm,algebraic=true}
\begin{pspicture}(0,0)(12.5,20)
\psaxes[dx=1.5,dy=0.5,Dx=20000,Dy=2000000,ticksize=-2pt,arrowsize=.04,li
newidth=0.7pt]{->}(0,0)(10,5.5)
\psplot[linewidth=1pt,linecolor=red]{0}{100}{-0.005*x^2+600*x-20000}
\end{pspicture}
\end{document}

Is there anyone who find my mistake?

Thank you for help in advance,
Cosi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20080601/70cc7d70/attachment.html