Axis labeling code described in “An Extension of Wilkinson’s Algorithm for Positioning Tick Labels on Axes”.
Updated version of the paper with corrections to typos in the weighting formula in section 4 and the density formula in section 4.3. Thanks to Ahmet Karaham for help catching them.
R package containing our implementation of Heckbert’s labeling algorithm, Wilkinson’s, our extensions, and a number of others. This does not yet include the legibility component. You should be able to install it from within R using:
matplotlib code (change the extension to .py). Has not been tested in any detail. I’m not a matplotlib user, so I’m not sure that I’ve got the integration with matplotlib correct. I’d appreciate feedback on how to improve this.
A C# implementation is available on github that implements the full algorithm in the paper including format changes. I had to refactor this from a much larger code base, so it may have some small bugs. Let me know if you run into any problems.
A Java implementation, not including the formatting stuff, by Ahmet Karahan (updated April 2015).