I have a graph with three different curves, two of which are very small compared to the other. I therefore decided to add a magnification of such curves inside my graph, in the following way:
\documentclass{scrbook}
\usepackage{classicthesis}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{semilogxaxis}[
xlabel={x},
ylabel={y},
xmin=1000, xmax=800000,
ymin=0, ymax=25,
enlargelimits,
width=.8\columnwidth,
every axis legend/.append style={nodes={right}},
cycle list name=black white]
\addplot
coordinates{
(1846, 0.15)
(2304, 0.9)
(2846, 1.5)
};
\addplot
coordinates{
(1846, 0.3)
(2304, 0.9)
(2846, 1.5)
};
\addplot
coordinates{
(632, 19)
(916, 22)
(1764, 15)
(5106, 5)
(8146, 4)
(66026, 3)
(407900, 2.5)
(802932, 2)
};
\draw[black,dashed,thick] (axis cs:1500,-0.8) rectangle (axis cs:3500,2.2);
\coordinate (pt) at (axis cs:150000,11);
\legend{{Small curve \#1},{Small curve \#2},{Big curve}}
\end{semilogxaxis}
\node at (pt) {
\begin{tikzpicture}[baseline,trim axis left,trim axis right]
\begin{semilogxaxis}[
tiny,
xmin=1700, xmax=3000,
ymin=0, ymax=1.7,
enlargelimits,
% cycle list name=black white,
/pgfplots/log ticks with fixed point,
/pgfplots/xtick={1700,2200,2700}]
\addplot[every mark/.append style={fill=gray},mark=*]
coordinates{
(1846, 0.15)
(2304, 0.9)
(2846, 1.5)
};
\addplot[every mark/.append style={fill=gray},mark=square]
coordinates{
(1846, 0.3)
(2304, 0.9)
(2846, 1.5)
};
\end{semilogxaxis}
\end{tikzpicture}};
\end{tikzpicture}
\end{document}
My question is: Is it possible to keep the same format in the magnified graph? I tried to specify it by hand, but it doesn't respect the filling. Specifying the cycle list name doesn't work, too.
In addition, but is not mandatory, I would appreciate a solution that avoid to specify the coordinates inside the magnified graph.

