[pstricks] Plotting a function

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sun Jun 1 21:19:45 CEST 2008

Cosi Lein schrieb:

> @Herbert: a "unit-problem" seems plausible... But if I use your
> suggestion, I get a line instead of my function? 

sure, it depeneds to your chosen interval for x

> The function is a profit function (reverse parabola) with a maximum in
> (x=60.000, y=18.000.000) and two roots in x=0 and x=120.000 - so I need
> these large scales. How can I generate these scales? (I suspect it's
> very easy, but I don't see solution...)

the root is not 0 because f(0)=-20000

\def\pshlabel#1{$#1\cdot 10^3$}
\def\psvlabel#1{$#1\cdot 10^6$}

\psaxes[dx=2cm, dy=1cm,
%\psdot(*60 {-0.005*x^2+600*x-20000})



More information about the PSTricks mailing list