Set width and height of graph