|
From: John H. <jdh...@ac...> - 2004-03-09 11:53:31
|
>>>>> "Vincent" == Vincent BOYER <bo...@cl...> writes:
Vincent> Is there a way to do that in Matplotlib? Does the Matlab
Vincent> command "hold" have a equivalent in Matplotlib? I didn't
Vincent> find it, and if it exists, then I could plot the lines of
Vincent> the matrix Y one by one.
Hold is on by default. So you can do
for y in Y:
plot(x,y)
To clear the axes between plot commands, use gca.
Hope this helps,
JDH
|