diff --git a/plotter.py b/plotter.py index df5c2c4..304301e 100644 --- a/plotter.py +++ b/plotter.py @@ -18,6 +18,7 @@ def distance_plot(drives): X = np.arange(1, 0, -1.0/len(drives)) Y = np.array(distances) + plt.figure(figsize=(8,5)) plt.plot(X, Y) plt.title("distances of uber rides cdf") plt.xlabel("fraction of rides longer than this") @@ -46,10 +47,11 @@ def max_overlap_fractions_plot(drives): X = np.arange(1, 0, -1.0/len(max_overlap_fractions)) Y = np.array(max_overlap_fractions) + plt.figure(figsize=(8,5)) plt.plot(X, Y) plt.title("overlaps of uber rides cdf") plt.xlabel("fraction of rides overlapping more than this") plt.ylabel("overlap fraction") plt.xlim(0, 1) plt.show() - \ No newline at end of file +