plot graph as we go along...