axes: factor out layout making
factor out aligned layouts
remove commented code
factor out canvas blanking
factor out axis drawing
separate grid line drawing from label drawing
separate grid coord functions