Skip to content

Commit

Permalink
Fig1 minor tweaks (#37)
Browse files Browse the repository at this point in the history
* adjusted text label positions and AUROC cbar range

* unifed HDI to 80%, switched to median AUROC so that it sits closer to the middle of said hdi

* Figure 2 tweaks

* Figure 3 tweaks

* 50% hdpi and median everywhere

* sizing

* missing commas fig2

---------

Co-authored-by: Jean-Gabriel Young <jean.gabriel.young@gmail.com>
  • Loading branch information
nwlandry and jg-you authored Jul 10, 2024
1 parent c904455 commit 64962fe
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 5 deletions.
Binary file modified Figures/Fig2/fig2.pdf
Binary file not shown.
Binary file modified Figures/Fig2/fig2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Figures/Fig4/fig4.pdf
Binary file not shown.
Binary file modified Figures/Fig4/fig4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Figures/Fig5/fig5.pdf
Binary file not shown.
Binary file modified Figures/Fig5/fig5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion plot_fig2.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
]
keys = ["p", "alpha", "size"]
titles = ["Erdös-Rényi", "Power-law CM", "Clustered"]
labels = [r"Density, $p$", r"Exponent $\alpha$", r"Clique size $s$"]
labels = [r"Density, $p$", r"Exponent, $\alpha$", r"Clique size, $s$"]

xticks = [
[0, 0.5, 1],
[-4, -3, -2],
Expand Down
6 changes: 3 additions & 3 deletions plot_fig4.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
]
keys = ["p", "alpha", "size"]
titles = ["Erdös-Rényi", "Power-law CM", "Clustered"]
labels = [r"$p$", r"$\alpha$", r"$s$"]
labels = [r"Density, $p$", r"Exponent, $\alpha$", r"Clique size, $s$"]
xticks = [
[0, 0.5, 1],
[
Expand Down Expand Up @@ -120,7 +120,7 @@ def visualize_networks(i, ax):
ax.plot(var, r0 * beta_c, "-", linewidth=0.25, color="grey")

if i == 0:
ax.set_ylabel(r"$\beta$")
ax.set_ylabel(r"Infectivity, $\beta$")
else:
ax.set_yticks([], [])

Expand All @@ -147,7 +147,7 @@ def visualize_networks(i, ax):
ax.set_yticks([0, 0.5, 1], [0, 0.5, 1])

if i == 0:
ax.set_ylabel(r"$\beta$")
ax.set_ylabel(r"Infectivity, $\beta$")
else:
ax.set_yticks([], [])

Expand Down
2 changes: 1 addition & 1 deletion plot_fig5.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
]
keys = ["p", "alpha", "size", "epsilon", "p"]
titles = ["Erdös-Rényi", "Power-law CM", "Clustered", "SBM", "Small-World"]
labels = [r"$p$", r"$\alpha$", r"$s$", r"$\epsilon$", r"$p$"]
labels = [r"Density, $p$", r"Exponent, $\alpha$", r"Clique size, $s$", r"Imbalance, $\epsilon$", r"Rewiring prob., $p$"]
xticks = [
[0, 0.5, 1],
[-4, -3.5, -3, -2.5, -2, -1.5],
Expand Down

0 comments on commit 64962fe

Please sign in to comment.