TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

According to pgfplots manual it is possible to enlarge axes limits using enlarge x limits and enlarge y limits properties. One can specify relative and absolute values, but they are in units of the axes. Is it possible, to enlarge limits by some fixed distance, e.g. 1cm?

If possible, I would need a solution, that could be defined in the .style property, as I would like all my plots to have axes extended by the same value.

share|improve this question
up vote 6 down vote accepted

There is no such feature in any version of pgfplots up to and including 1.6.1 .

However, there are plans to include it for the next release.

share|improve this answer
Thanks for the answer. Should I add it to Feature Requests? What is an approximate interval between two releases? – Pygmalion Aug 31 '12 at 6:43
Yes, you should. Since the current stable 1.6.1 has been released last week, it might be some time. Typically half a year... but there are always "unstable" versions at pgfplots.sourceforge.net for which an installation is relatively easy. The feature might be ready within the next weeks. Take a look at that link; it also contains a brief history indicating what has been added to the unstable. – Christian Feuersänger Aug 31 '12 at 21:03
Thanks. I shall keep watching and install unstable version with the feature as soon as it will be available. – Pygmalion Sep 1 '12 at 6:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.