diff --git a/fig/fig_async.pdf b/fig/fig_async.pdf index 93fd08c..4f93c5a 100755 Binary files a/fig/fig_async.pdf and b/fig/fig_async.pdf differ diff --git a/fig/fig_dynusers.pdf b/fig/fig_dynusers.pdf index 1e53202..740d194 100755 Binary files a/fig/fig_dynusers.pdf and b/fig/fig_dynusers.pdf differ diff --git a/fig/fig_fair.pdf b/fig/fig_fair.pdf index 908d614..8075f99 100755 Binary files a/fig/fig_fair.pdf and b/fig/fig_fair.pdf differ diff --git a/fig/fig_phase2.pdf b/fig/fig_phase2.pdf index 3199379..b368940 100755 Binary files a/fig/fig_phase2.pdf and b/fig/fig_phase2.pdf differ diff --git a/fig/fig_resorth.pdf b/fig/fig_resorth.pdf index 07c6a2f..77c38cd 100755 Binary files a/fig/fig_resorth.pdf and b/fig/fig_resorth.pdf differ diff --git a/rev2/plot_rev2.py b/rev2/plot_rev2.py index ebccc4b..566eca9 100755 --- a/rev2/plot_rev2.py +++ b/rev2/plot_rev2.py @@ -50,11 +50,15 @@ C = {"ofdma": "#546E7A", "blind": "#8D6E63", "noma": "#E65100", "aux": "#6A1B9A"} # ---------------------------------------------------------------- fig_fair -- +# axes box kept at 2.59 x 2.12 in; panel tags "(a)"/"(b)" BELOW the panels d = json.load(open(DATA / "e1_fair_baselines.json")) snr = d["snr"] -f = plt.figure(figsize=(7.1, 2.75)) -axs = [f.add_axes([0.115, 0.165, 0.365, 0.77]), - f.add_axes([0.615, 0.165, 0.365, 0.77])] +FH = 3.10 # taller canvas for below-axis tags +AXH = 2.12 / FH +AXB = 0.86 / FH +f = plt.figure(figsize=(7.1, FH)) +axs = [f.add_axes([0.115, AXB, 0.365, AXH]), + f.add_axes([0.615, AXB, 0.365, AXH])] for ax, sc, ttl in zip(axs, ["HIGH", "MIX"], ["(a) HIGH", "(b) MIX"]): v = d["scenarios"][sc] ax.semilogy(snr, v["ofdma"]["ser"], "s--", color=C["ofdma"], label="OFDMA") @@ -66,8 +70,9 @@ for ax, sc, ttl in zip(axs, ["HIGH", "MIX"], ["(a) HIGH", "(b) MIX"]): label="LMMSE-genie") ax.set_xlabel("SNR (dB)") ax.set_ylabel("SER") - ax.set_title(ttl) ax.set_xlim(0, 20) + ax.text(0.5, -0.31, ttl, transform=ax.transAxes, + ha="center", va="top", fontsize=10) axs[1].legend(loc="lower left", framealpha=0.9, fontsize=7) save(f, "fig_fair.pdf", axs)