From: W. Trevor King Date: Wed, 12 May 2010 18:53:45 +0000 (-0400) Subject: Moved plot commands from hooke_cli -> hooke.ui.gui.plotcommands stub. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=19043b4feb66939a84405e1b72b169c9ce510cf4;p=hooke.git Moved plot commands from hooke_cli -> hooke.ui.gui.plotcommands stub. --- diff --git a/hooke/hooke_cli.py b/hooke/hooke_cli.py index fddb648..51e56a8 100644 --- a/hooke/hooke_cli.py +++ b/hooke/hooke_cli.py @@ -290,112 +290,3 @@ Syntax: previous, p self.do_previous(args) -#PLOT INTERACTION COMMANDS -#------------------------------- - def help_plot(self): - print ''' -PLOT -Plots the current force curve -------- -Syntax: plot - ''' - def do_plot(self,args): - if self.current.identify(self.drivers) == False: - return - self.plots=self.current.curve.default_plots() - try: - self.plots=self.current.curve.default_plots() - except Exception, e: - print 'Unexpected error occurred in do_plot().' - print e - return - - #apply the plotmanip functions eventually present - nplots=len(self.plots) - c=0 - while c