Corrected some bugs in the scale of graphs.
authorfabrizio.benedetti.82 <devnull@localhost>
Mon, 1 Mar 2010 13:50:51 +0000 (13:50 +0000)
committerfabrizio.benedetti.82 <devnull@localhost>
Mon, 1 Mar 2010 13:50:51 +0000 (13:50 +0000)
libhooke.py

index 5da0508a918660d38b84736883e5b3f1b8ac32e7..9bb1ead81a760517bb286cc37472f5e2d16bad7e 100755 (executable)
@@ -279,9 +279,9 @@ from the current ticks.
                oom = numpy.floor(numpy.log10(mrange))
            else:
                if locs[0] > locs[-1]: 
-                   val = locs[-1]
-               else: 
                    val = locs[0]
+               else: 
+                   val = locs[-1]
                if val == 0: 
                    oom = 0
                else: