TikZ – Plotting Parametric Curves

tikz-pgf

I am trying to plot some parametric curves, however I always get an an error saying "Dimension is too large". Is there any way to fix this?

\begin{tikzpicture}[scale=.2]
\draw[very thin,color=gray,step=.5cm,dashed] (-8,-8) grid (4,4);
\draw[<->, blue] (-8,0) -- (4,0) node[below right] {$x$};
\draw[<->, blue] (0,-8) -- (0,4) node[left] {$y$};
\draw [red, thick,  domain=-10:1.1, samples=40] 
 plot ({\x^3-3*\x}, {3*\x^2-9} );
\end{tikzpicture}

Best Answer

enter image description here

\documentclass[11pt]{scrartcl}  
\usepackage{tkz-fct}  

\begin{document}

\begin{tikzpicture}[scale=1.5]
  \tkzInit[xmin=-5,xmax=5,xstep=2,ymin=-10,ymax=4,ystep=2]
  \tkzGrid[sub]
  \tkzAxeX[step=2]
  \tkzAxeY[step=2]
  \tkzFctPar[samples=400,domain=-pi:pi]{t**3-3*t}{3*t**2-9}
\end{tikzpicture}

\end{document} 
Related Question