my MWE is:
\documentclass{book}
\usepackage{tikz}
\usetikzlibrary{intersections}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}[domain=0:2*pi]
\draw[xstep=pi/4, ystep=0.5, dashed, color=gray] (-0.1,-1.6) grid (2*pi,1.6);
\draw[->] (-0.2,0) -- (7,0) node[right] {$t$};
\draw[->] (0,-2) -- (0,2) node[above] {$i(t)$};
\node[below left](0,0){$0$};
\draw[color=blue, smooth] plot (\x,{sin(\x r)}) node[below right] {$i(t)$};
\node[below left] at (2,2) {$i(t) = I_0\sin\omega t$};
\end{tikzpicture}
\end{document}
In the last command I try to put the text $i(t) = I_0\sin\omega t$ at coordinate (2,2), but the result does not match my expectations. Where is problem? How to insert text at a certain position without depending on previous commands?
I got this image:

I expected that the text $i(t) = I_0\sin\omega t$ will be more right.
below leftof the coordinate(2,2). Where do you expect it to appear? – Jake Sep 10 '12 at 8:08$i(t) = I_0\sin\omega t$? – Claudio Fiandrino Sep 10 '12 at 8:58\fill (2,2) circle[radius=2pt];to check where the point(2,2)is and the text is placed "below left" of that point. Perhaps that point isn't where you expected it to be. – Andrew Stacey Sep 10 '12 at 9:01