casa
$Rev:20696$
|
00001 import os 00002 from taskinit import * 00003 import pylab as pl 00004 00005 def clearplot(): 00006 """Clear the matplotlib plotter and all layers: 00007 00008 """ 00009 try: 00010 pl.ion() 00011 print "Calling tp.clearplot()" 00012 ok=tp.clearplot(0,0,0) 00013 except Exception, instance: 00014 print '*** Error ***',instance