Auto-generate x coords

Now auto-generates the x coordinates to make the graph go across
screen.