Is there a way to do that in Matplotlib? Does the Matlab
> command "hold" have a equivalent in Matplotlib? I didn't
> find it, and if it exists, then I could plot the lines of
> the matrix Y one by one.
Hold is on by default. So you can do
for y in Y:
To clear the axes between plot commands, use gca.
Hope this helps,