[pstricks] beats in postscript
Christophe Jorssen
jorssen.leraincy at free.fr
Mon Jan 26 19:20:37 CET 2004
> The project is to graph oscillations :
> y (x) = A sin (omega+omega_0)t/2 sin (omega-omega_0)t/2
> which are called beats for small values of omega-omega_0.
> Is there a way of improving the ugly figure I got below
> or is it an intrinsic problem of postscript
> not being able to handle quick changes in direction.
Try
\psplot[linewidth=.3pt,%
linecolor=black,plotpoints=1000]{0}{120} {95 x mul 180 mul 3.1415 div sin .8
x mul 180 mul 3.1415
div sin mul 50 mul
instead.
Kristof
More information about the PSTricks
mailing list