Generalising plotting