diff options
| -rw-r--r-- | src/make_plots.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/make_plots.py b/src/make_plots.py index cbe027e..556d27a 100644 --- a/src/make_plots.py +++ b/src/make_plots.py @@ -49,12 +49,12 @@ def plot_graph(figure_name): plot information in a pretty way """ plt.clf() - x = [50, 100, 500, 1000, 2000, 5000] + x = [np.log(50), np.log(100), np.log(500), np.log(1000), np.log(2000), np.log(5000)] greedy = [.09, .15, .4, .63, .82, .92] lasso = [.07, .30, .46, .65, 0, 0] max_likel = [.21, .29, .67, .8, .87, .9] sparse_recov = [.25, .32, .7, .82, .89, .92] - plt.axis((0, 5000, 0, 1)) + plt.axis((0, np.log(6000), 0, 1)) plt.xlabel("Number of Cascades") plt.ylabel("F1 score") plt.grid(color="lightgrey") |
