a grid is used for making a graph