clearing a subplot

Enrico Segre enrico.segre at weizmann.ac.il
Wed Apr 23 12:18:28 CEST 2008


you need to find what the handle to its axes is (one way is to save its
handle with gca() right after having plotted it, another to get it among
the children of gcf(), but the order of the children changes, the most
recent one being always the first), then you can delete() it.
hth, Enrico




More information about the users mailing list