I have the following code:
\draw[step=1.0,black,thin] (0.5,0.5) grid (5.5,4.5);
which I would like to have generate grid lines in the Y direction at y = {0.5, 1.5, 2.5, 3.5, 4.5}
and grid lines in the X direction at x = {0.5, 1.5, 2.5, 3.5, 4.5, 5.5}
.
However, I get grid lines at y = {1.0, 2.0, 3.0, 4.0}
and x = {1.0, 2.0, 3.0, 4.0, 5.0}
with half cells around the edges of the grid. So instead of having a closed uniform grid, I get one with open edges and two half cells at the borders.
Does anybody know why it doesn't honor the starting point and stride?