I'm trying to make a parametric graph, but for some reason it doesn't work.
\documentclass{article}
\usepackage{pgfplots}
\usepackage{amsmath,amsthm,amssymb}
\pgfplotsset{every axis/.append style={
axis x line=middle, % put the x axis in the middle
axis y line=middle, % put the y axis in the middle
axis line style={<->,color=blue}, % arrows on the axis
xlabel={$x$}, % default put x on x-axis
ylabel={$y$}, % default put y on y-axis
}}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xmin=-8,xmax=6,
ymin=-8,ymax=6,
grid=both,
]
\addplot [domain=-3:3,samples=50]({2.5\sin^2(-5x)2^{\cos(\cos(4.28(2.3x)))}},{2.5\sin(\sin(-5x))\cos^2(4.28(2.3x))});
\end{axis}
\end{tikzpicture}
\end{document}

domain=-3:3,samples=50is an option to\addplotwhich should be enclosed as[domain=-3:3,samples=50]and in your code\addplothas no argument giving it a file of data or a function to plot.\addplot [domain=-3:3,samples=50] {x};for example will ploty=xfrom-3to+3. – Dai Bowen Oct 21 '16 at 00:18\cos,\sin) instead of the mathematical functions defined bypgffor calculations (cos,sin, no backslash). And finally, you need to explicitly add multiplication, so5*x, not5x. – Torbjørn T. Oct 21 '16 at 10:57