Plotting the grid