From 707fc41fefe919e95de495bd0c23efe5cd667868 Mon Sep 17 00:00:00 2001 From: Joe Anderson Date: Mon, 31 Oct 2011 08:07:03 -0500 Subject: clean compare() --- throw.py | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'throw.py') diff --git a/throw.py b/throw.py index 3fcfdd8..2f8d36f 100644 --- a/throw.py +++ b/throw.py @@ -265,34 +265,6 @@ def solve(): plot(time, soln, ['all', '!gravity']) pyplot.show() -def compare(): - global m, Mass - m = 39.7 - Mass = 650 - time, soln = solve_fun(throw, inits) - plot(time, soln, ['tension'], 8) - pyplot.title("Mass = %i" % Mass) - - m = 39.7 - Mass = 670 - time, soln = solve_fun(throw, inits) - plot(time, soln, ['tension'], 7) - pyplot.title("Mass = %i" % Mass) - - m = 39.7 - Mass = 690 - time, soln = solve_fun(throw, inits) - plot(time, soln, ['tension'], 6) - pyplot.title("Mass = %i" % Mass) - - m = 41.81320863 - Mass = 4172 - time, soln = solve_fun(throw, inits) - plot(time, soln, ['tension'], 5) - pyplot.title("Mass = %i" % Mass) - - pyplot.show() - if len(sys.argv) == 2: func_name = sys.argv[1] if func_name in dir(): -- cgit v1.2.3-70-g09d2