updating an existing plot


I’m making contour plots of a field
distribution, and overlaid on that is a grid that I create using hlines() and vlines().
I want to change the contour plot many times, but keep the grid the same. Right
now, I have clear the axes with cla() then plot the new contour and replot the
grid. This slows things down a lot, and I’m wondering if anyone knows of
a way to update the contour plot without replotting the grid.




Trevis Crane

Postdoctoral Research Assoc.

Department of Physics

University of Ilinois

1110 W. Green St.

Urbana, IL 61801

p: 217-244-8652

f: 217-244-2278

e: tcrane@…1315…