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 examples of multiple figures use the syntax of:

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

My problem is that my datasets are generated at different times so that I can’t use the approach above. I woud like to be able to select already generated figures at will (with figure(#) and add plot to them.

thanks,

fiocruz4.jpg

···

Flávio Codeço Coelho, PhD

Programa de Computação Científica

Fundação Oswaldo Cruz

Rio de Janeiro – Brasil