Set height and width of the graph