figure hold

John, is there a way, in matplotlib, to emulate the

    > behavior of the matlab "hold" comand to plot multiple
    > datasets on a single figure?

The default behavior in matplotlib is 'hold on'.


  plot(x1, y1)
  plot(x2, y2)

Both plot to the same figure.

This is one way in which matplotlib differs from matlab.