Axis labels: Per-block SNR -> SNR on all result figures
This commit is contained in:
+4
-4
@@ -78,7 +78,7 @@ def fig_floor():
|
|||||||
color="gray")
|
color="gray")
|
||||||
ax.annotate(r"aware floor $\sqrt{1-\beta^2}/2$", xy=(14.0, 0.432),
|
ax.annotate(r"aware floor $\sqrt{1-\beta^2}/2$", xy=(14.0, 0.432),
|
||||||
fontsize=7, color="gray")
|
fontsize=7, color="gray")
|
||||||
ax.set_xlabel("Per-block SNR $\\rho$ [dB]")
|
ax.set_xlabel("SNR $\\rho$ [dB]")
|
||||||
ax.set_ylabel(r"Per-user MSE $\mathbb{E}\|\hat{\mathbf{e}}_u-\mathbf{e}_u\|_2^2$")
|
ax.set_ylabel(r"Per-user MSE $\mathbb{E}\|\hat{\mathbf{e}}_u-\mathbf{e}_u\|_2^2$")
|
||||||
ax.set_xlim(0, 40); ax.set_ylim(0.4, 1.05)
|
ax.set_xlim(0, 40); ax.set_ylim(0.4, 1.05)
|
||||||
# framed in-axes legend like every other result figure; composite
|
# framed in-axes legend like every other result figure; composite
|
||||||
@@ -106,7 +106,7 @@ def fig_rate():
|
|||||||
ax.plot(snr, col(rows, "oma"), "--", color="C1", label=LBL["oma"])
|
ax.plot(snr, col(rows, "oma"), "--", color="C1", label=LBL["oma"])
|
||||||
ax.plot(snr, col(rows, "genie"), "-.", color="C0", label=LBL["genie"])
|
ax.plot(snr, col(rows, "genie"), "-.", color="C0", label=LBL["genie"])
|
||||||
ax.plot(snr, col(rows, "mac"), "-", color="k", lw=1.0, label=LBL["mac"])
|
ax.plot(snr, col(rows, "mac"), "-", color="k", lw=1.0, label=LBL["mac"])
|
||||||
ax.set_xlabel("Per-block SNR $\\rho$ [dB]")
|
ax.set_xlabel("SNR $\\rho$ [dB]")
|
||||||
ax.set_ylabel("Effective sum rate [bps/Hz]")
|
ax.set_ylabel("Effective sum rate [bps/Hz]")
|
||||||
ax.set_xlim(0, 40); ax.set_ylim(0, 3.2)
|
ax.set_xlim(0, 40); ax.set_ylim(0, 3.2)
|
||||||
ax.legend(loc="upper left")
|
ax.legend(loc="upper left")
|
||||||
@@ -149,7 +149,7 @@ def fig_sic():
|
|||||||
ax.plot(snr, col(rows, "oma"), "v--", color="C1", label=LBL["oma"])
|
ax.plot(snr, col(rows, "oma"), "v--", color="C1", label=LBL["oma"])
|
||||||
ax.plot(snr, col(rows, "genie"), "-", color="gray", lw=1.0,
|
ax.plot(snr, col(rows, "genie"), "-", color="gray", lw=1.0,
|
||||||
label=LBL["genie"])
|
label=LBL["genie"])
|
||||||
ax.set_xlabel("Per-block SNR $\\rho$ [dB]")
|
ax.set_xlabel("SNR $\\rho$ [dB]")
|
||||||
ax.set_ylabel("Mean cosine similarity")
|
ax.set_ylabel("Mean cosine similarity")
|
||||||
ax.set_xlim(snr[0], snr[-1]); ax.set_ylim(0, 0.7)
|
ax.set_xlim(snr[0], snr[-1]); ax.set_ylim(0, 0.7)
|
||||||
ax.legend(loc="upper left")
|
ax.legend(loc="upper left")
|
||||||
@@ -171,7 +171,7 @@ def fig_multiuser():
|
|||||||
mk = [i for i, s in enumerate(snr) if s % 5 == 0]
|
mk = [i for i, s in enumerate(snr) if s % 5 == 0]
|
||||||
ax.plot([snr[i] for i in mk], [col(rd, "edma_mc")[i] for i in mk],
|
ax.plot([snr[i] for i in mk], [col(rd, "edma_mc")[i] for i in mk],
|
||||||
"o", color=colors[U], ms=4, mfc="none")
|
"o", color=colors[U], ms=4, mfc="none")
|
||||||
ax.set_xlabel("Per-block SNR $\\rho$ [dB]")
|
ax.set_xlabel("SNR $\\rho$ [dB]")
|
||||||
ax.set_ylabel("Effective sum rate [bps/Hz]")
|
ax.set_ylabel("Effective sum rate [bps/Hz]")
|
||||||
ax.set_xlim(0, 30)
|
ax.set_xlim(0, 30)
|
||||||
ax.set_ylim(bottom=0)
|
ax.set_ylim(bottom=0)
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ ax.plot(snr, col("todma"), "d-.", color="C4", label=LBL["todma"])
|
|||||||
ax.plot(snr, col("oma"), "v:", color="C1", label=LBL["oma"])
|
ax.plot(snr, col("oma"), "v:", color="C1", label=LBL["oma"])
|
||||||
ax.plot(snr, col("genie"), "-", color="gray", lw=1.0,
|
ax.plot(snr, col("genie"), "-", color="gray", lw=1.0,
|
||||||
label=LBL["genie"])
|
label=LBL["genie"])
|
||||||
ax.set_xlabel("Per-block SNR $\\rho$ [dB]")
|
ax.set_xlabel("SNR $\\rho$ [dB]")
|
||||||
ax.set_ylabel("Mean cosine similarity")
|
ax.set_ylabel("Mean cosine similarity")
|
||||||
ax.set_xlim(snr[0], snr[-1])
|
ax.set_xlim(snr[0], snr[-1])
|
||||||
ax.set_ylim(0, 0.75)
|
ax.set_ylim(0, 0.75)
|
||||||
|
|||||||
@@ -246,7 +246,7 @@ def E1_floor(beta=0.311, dims=(256, 768), snr_db=np.arange(0, 41, 2.5), ntr=120)
|
|||||||
ax.text(22.0, 0.40, r"aware floor $\sqrt{1-\beta^2}/2$",
|
ax.text(22.0, 0.40, r"aware floor $\sqrt{1-\beta^2}/2$",
|
||||||
fontsize=7, color="gray")
|
fontsize=7, color="gray")
|
||||||
ax.set_yscale("linear")
|
ax.set_yscale("linear")
|
||||||
ax.set_xlabel("Per-block SNR $\\rho$ [dB]")
|
ax.set_xlabel("SNR $\\rho$ [dB]")
|
||||||
ax.set_ylabel(r"Per-user MSE $\mathbb{E}\|\hat{\mathbf{e}}_u-\mathbf{e}_u\|_2^2$")
|
ax.set_ylabel(r"Per-user MSE $\mathbb{E}\|\hat{\mathbf{e}}_u-\mathbf{e}_u\|_2^2$")
|
||||||
ax.set_xlim(0, 40); ax.set_ylim(0.4, 1.05)
|
ax.set_xlim(0, 40); ax.set_ylim(0.4, 1.05)
|
||||||
ax.legend(loc="upper right", ncol=1)
|
ax.legend(loc="upper right", ncol=1)
|
||||||
@@ -284,7 +284,7 @@ def E7_rates(beta=0.311, d=512):
|
|||||||
ax.plot(snr_db, To, "--", color="C1", label=LBL["oma"])
|
ax.plot(snr_db, To, "--", color="C1", label=LBL["oma"])
|
||||||
ax.plot(snr_db, Tg, "-.", color="C0", label=LBL["genie"])
|
ax.plot(snr_db, Tg, "-.", color="C0", label=LBL["genie"])
|
||||||
ax.plot(snr_db, Cm, "-", color="k", lw=1.0, label=LBL["mac"])
|
ax.plot(snr_db, Cm, "-", color="k", lw=1.0, label=LBL["mac"])
|
||||||
ax.set_xlabel("Per-block SNR $\\rho$ [dB]")
|
ax.set_xlabel("SNR $\\rho$ [dB]")
|
||||||
ax.set_ylabel("Effective sum rate [bps/Hz]")
|
ax.set_ylabel("Effective sum rate [bps/Hz]")
|
||||||
ax.set_xlim(0, 40); ax.set_ylim(0, 3.2)
|
ax.set_xlim(0, 40); ax.set_ylim(0, 3.2)
|
||||||
ax.legend(loc="upper left")
|
ax.legend(loc="upper left")
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user