From 19043b4feb66939a84405e1b72b169c9ce510cf4 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 12 May 2010 14:53:45 -0400 Subject: [PATCH] Moved plot commands from hooke_cli -> hooke.ui.gui.plotcommands stub. --- hooke/hooke_cli.py | 109 ----------------------------------- hooke/ui/gui/plotcommands.py | 109 +++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+), 109 deletions(-) create mode 100644 hooke/ui/gui/plotcommands.py 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