How to remove a contour plot?

I suppose it is possible to delete all collections one by one, but that’s an ugly solution. And as I’m not aware of the behind the scenes work done by contour it’s a bit dangerous.

Is there a standard way to remove a contour plot?

Regards
Stefan Krastanov

This one bit me recently, too. You just have to loop through the contour object’s collections member and remove each one.

Ben Root

···

On Sat, Nov 5, 2011 at 3:52 PM, krastanov.stefan@…287… <krastanov.stefan@…2015…87…> wrote:

I suppose it is possible to delete all collections one by one, but that’s an ugly solution. And as I’m not aware of the behind the scenes work done by contour it’s a bit dangerous.

Is there a standard way to remove a contour plot?

Regards
Stefan Krastanov