[pstricks] how to smooth graph?
E. Krishnan
ekmath at md5.vsnl.net.in
Thu Jun 19 03:44:27 CEST 2003
On 19 Jun 2003, Andreas Kotowicz wrote:
> I have following code in my latex document.
>
> \begin{pspicture}(0,-3)(8,3)
> \psaxes[Ox=0,0y=-3](0,0)(0,-3)(8,3)
> \psplot{0}{8}{ 180 x mul cos 3 2.71828 x neg 0.3 mul exp mul mul}
> \end{pspicture}
..........................................................
> but on the extremums the graph is not round at all.
Please try
\begin{pspicture}(0,-3)(8,3)
\psaxes[Ox=0,Oy=-3](0,0)(0,-3)(8,3)
\psplot[plotstyle=curve,plotpoints=500]%
{0}{8}{ 180 x mul cos 3 2.71828 x neg 0.3 mul exp mul mul}
\end{pspicture}
--
Krishnan
More information about the PSTricks
mailing list