Is there an easy way to 'break' the axis in a pgfplots environment? What I'm talking about is something like this
Any minimal plot will do as an example...for example
\documentclass{minimal}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[ymin=0, ymax=80]
\addplot {x*0};
\addplot {x^2+50};
\end{axis}
\end{tikzpicture}
\end{document}
For example, in the below plot,
I want to break the axis from around y = 10 to y = 40.
Any ideas? Does PGF have this functionality? A search for `break' in the manual doesn't yield anything.
axis y discontinuity
in thepgfplots
manual. – percusse Mar 1 '12 at 23:03axis y discontinuity
option won't let you plot values near the origin, it is only meant for showing that a plot doesn't start near zero. TSGM, could you provide a more concrete example of what you want to achieve? A break in a column plot is much easier than in a line plot. – Jake Mar 1 '12 at 23:10