Related to this question regarding values that exceed the axis range (which also provides the code for a MWE), I would like to modify the output slightly: instead of displaying the numbers above the bars, the y axis should be cut off as well (obviously, this only works if the exceeding values are in the same range which they are in my case).

Here's a picture of how I thought of it: example with cut off axis and chart

Does pgfplots provide keys that allow such a modification of the axis?

  • No, PGFPlots only provides a key to allow breaking the axis at the origin (to show that the axis range doesn't include 0).
    – Jake
    May 21, 2014 at 6:40
  • That's... unfortunate. Is there a trick to achieve the behavior anyway?
    – mschrimpf
    May 21, 2014 at 6:54
  • @TorbjørnT.: That's a good hint, I hadn't found that question. I'm currently trying to combine it with the other link I posted.
    – mschrimpf
    May 23, 2014 at 6:27


Browse other questions tagged .