Constrained visualisation in R