Two graphs are illustrated in a diagram, with quite a lot of space inbetween, making it rather unsightly. I would like to move them closer together by skipping the space inbetween.
This is the diagram
\documentclass{standalone}
\usepackage{tikz,pgfplots}
\begin{document}
\begin{tikzpicture}
\pgfplotsset{
scale only axis}
\begin{axis}[tick align=center,xmin=546, xmax=565, ymin=0, ymax=60]
\addplot[line width=1pt]
coordinates{(564,0)(563,10)(562,20)(561,30)(560,40)(559,50)(558,60)};
\addplot[dotted,line width=1pt]
coordinates{(552,0)(551,10)(550,20)(549,30)(548,40)(547,50)(546,60)};
\end{axis}
\end{tikzpicture}
\end{document}
And this is how I imagine the x axis:
\documentclass{standalone}
\usepackage{tikz,pgfplots}
\begin{document}
\begin{tikzpicture}
\foreach \x/\y in {0/550, 1/552, 4/556, 5/558}
\draw (\x,0.25) -- (\x,-0.25) node[below]{$\y$};
\draw (-0.5, 0)--(2,0);
\draw (3, 0)--(5.5,0);
\draw[dotted] (2,0)--(3,0);
\end{tikzpicture}
\end{document}

axis x discontinuity? See e.g. https://tex.stackexchange.com/a/62778/121799. – Mar 10 '19 at 13:02xmin!? – Stefan Pinnow Mar 10 '19 at 14:51