From e9970039d06ac95badef7beeb99e975b6a694fd1 Mon Sep 17 00:00:00 2001 From: devicerandom Date: Fri, 24 Jul 2009 14:58:44 +0000 Subject: [PATCH] (hooke_cli.py) text export, now with measure units. Fixes issue 0014 --- hooke_cli.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hooke_cli.py b/hooke_cli.py index 0f1fdbb..0d38042 100755 --- a/hooke_cli.py +++ b/hooke_cli.py @@ -691,6 +691,9 @@ Syntax: txt [filename] {plot to export} text='\n'.join(rows) txtfile=open(filename,'w+') + #Save units of measure in header + txtfile.write('X:'+self.plots[whichplot].units[0]+'\n') + txtfile.write('Y:'+self.plots[whichplot].units[1]+'\n') txtfile.write(text) txtfile.close() -- 2.26.2