## Sunday, April 8, 2012

### Parametric plots

Besides the usual Cartesian coordinate plots and polar plots, Pstricks also can realize parametric plots. The command is "\psparametricplot[options]{t0}{t1}{x(t) y(t)}". "t0" and "t1" are the begin and end value of variable t. "x(t)" and "y(t)" are interpreted as the parametric plot functions.

Now we come to practice on this command.

\documentclass{article}
\usepackage{pstricks}
\usepackage{pst-plot}
\psset{unit=3cm}
\begin{document}
\psset{plotpoints=500}
\begin{psgraph}(-1,-1)(1,1){5cm}{5cm}
\psparametricplot{0}{360}
{2 t mul sin 3 t mul cos}
%sin(2t),cos(3t)
\end{psgraph}
\end{document}

 Fig.1 parametric plots in pstricks