I was experimenting with the spy library. It worked quite well, except for influencing the line width of the spy connections when using the connect spies keyword, or the width of the outline of the region to be spied on. I tried to insert keywords like ultra thick or line width=3mm everywhere, but it has no effect. The manual only states "Causes the spy-in and the spy-on nodes to be connected by a thin line." for the connect spies keyword, but no options for thick lines. I also looked through every question here on tex.sx concerning the spy library but did not find anything.
So is it even possible to have some options passed to these lines (probably dashed and other things also might be useful), and if, how?
Here is my code so far:
\documentclass[parskip]{scrartcl}
\usepackage[margin=15mm]{geometry}
\usepackage{tikz}
\usepackage{pgfplots}
\usetikzlibrary{spy,calc}
\begin{document}
\begin{tikzpicture}[spy using outlines={circle, size=2cm, connect spies}]
%\includegraphics[scale=1]{test.png}
\node[above right, inner sep=0] at (0,0) {\includegraphics{test.png}};
\draw[very thin, yellow] (0,0) grid (15.25,10);
\spy[magnification=3,red,draw,line width=1mm] on (2,2) in node[ultra thick] at (3,-2);
\spy[magnification=5,green] on (7.1,4.1) in node[line width=4mm] at (8,-2);
\spy[magnification=10,black] on (11.8,2.8) in node[dashed,line width=1mm] at (13,-2);
\end{tikzpicture}
\end{document}

And finally, the original picture if you want to use it for experimenting:



spy on node(e.g.red, dashed), but not the thickness. The manual states something about aevery spy on nodestyle on page 465, but I don't know how to use it, especially to influence everyspyindividually. Any ideas? – Tom Bombadil Jan 26 '12 at 13:16spy using outlinesoption (discussed on the same page) sets the line width to very thin. So what you would need is to specify your ownspy scope. You can then use keys to influence how everything is drawn. I will update the answer in a second. – Roelof Spijker Jan 26 '12 at 15:17