Skip to content


R code for our axis labeling algorithm

The R version of our labeling code is now hosted at R-forge. You can get it here or install it from within R using install.packages("labeling", repos="http://R-Forge.R-project.org").

A few small bugs in the implementation of our algorithm have been fixed thanks to feedback from Ahmet Karahan who is working on a Java version. I have also added a number of other labeling algorithms that have been proposed or used in the past, including those by Sparks, Thayer, and Nelder (from about 40 years ago), and adaptations of the matplotlib, gnuplot, and R’s pretty labeling functions.

Posted in visualization.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.