I have two plots with different ranges. I want to draw them in a single plot, but if I do so the plots do not show the small fluctuations of each graph. I write:
\documentclass[tikz,border=0.5mm]{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{width=10cm,compat=1.3}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
scale only axis,
tick scale binop=\times,
xtick={5, 10, 15, 20},
xlabel={Number},
ylabel={Rate (Gb/s)},
legend style={at={(0.9,0.2)},
anchor=east
}]
\addplot[dashdotted,color=red,mark=square*] coordinates {
(5, 1.001)
(10, 1.002)
(15, 1.003)
(20, 1.004)
};
\addplot[color=blue,mark=*,dashed] coordinates {
(5, 2.001)
(10, 2.002)
(15, 2.003)
(20, 2.004)
};
\addlegendentry{MVR T=1}
\addlegendentry{MVR T=2}
\end{axis}
\end{tikzpicture}
\end{document}
and get the following result:
But I want sth like this:
What should I do?


