grid and axes improvements

Some improvements to grids and axes. 
It looks like this example is wrong anyway, because X ticker should be shared in columns and Y ticker in rows, but that's not the case.