plot: fix axis labelling
Created by: kortschak
This goes a long way towards fixing #403, though there are problems that I believe are a result of aggressive cropping of the plot space after the axes have been decided (the axes that show up here with only one major tick mark do have the labels created, but the plot does not end up rendering them).
@eaburns Can you suggest anything here?
/cc @decibelcooper