define dimensions of graph