[pstricks] how to smooth graph?

Andreas Kotowicz kotoml at mynetix.de
Thu Jun 19 00:35:11 CEST 2003


Hi!

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}

this gives me an e^(-0.3*x) multiplied with cos(180*x). this should give
a very smooth graph but on the extremums the graph is not round at all.
this is probably because not enough points for the curve get calculated.
can I tell (and how?) psplot to calculate more points?

thanks (and sorry for my bad English),
andreas




More information about the PSTricks mailing list