I'm slightly confused as to how i'm supposed to write a program that
will call plot() once initially, and then subsequently update the plot
with new points as they are generated.
As i understand it I should be doing something along the following lines:
But this does not work as expected.
Any help would be appreciated,