Add scaling to graphs