You could use PGFPlots, which gives great, flexible graphs with relatively short code.
I couldn't really make sense of what you are doing here mathematically (double exp? must be above my mathematical apprehension), so this probably doesn't look right. You should be able to adjust this to your needs.
\documentclass{article} \usepackage{tikz} \usepackage[graphics, active, tightpage]{preview} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{1em} \usepackage{pgfplots} \pgfplotsset{width=12cm,compat=1.12} \begin{document} \begin{tikzpicture} \newcommand{\varT}{pi*x} \begin{axis}[ y label style={rotate=-90}, title=My title, ylabel = $y-axis$, xlabel = {t}, ] \addplot[ red, domain=0:2, samples=17, ] {(1/2)*(exp(exp(-\varT))+exp(exp(-\varT-2*pi)))*cos(\varT)}; \addplot[ blue, domain=2:4, samples=17, ] {(1/2)*(exp(exp(-\varT))+exp(exp(-\varT-2*pi)))*sin(\varT)}; \legend{$(\frac{1}{2})(exp[\exp(exp\exp(-t))+exp+\exp(exp\exp(-t-2\pi)))*cos]cos(t)$, $(\frac{1}{2})(exp[\exp(exp\exp(-t))+exp+\exp(exp\exp(-t-2\pi)))*sin]sin(t)$} \end{axis} \end{tikzpicture} %!tikz source end \end{document} 
