diff --git a/examples/cpr_sns.py b/examples/cpr_sns.py index 4e51eb8d33eabea8c06e289421d6d7fbcee106b1..f245acf71fede45db1aec127ae79c0aa0f85b555 100644 --- a/examples/cpr_sns.py +++ b/examples/cpr_sns.py @@ -78,7 +78,7 @@ def j(T, h, phi, n=15, eta=0.1, alpha_soc=0.1, L=10): def main(): T = 0.1 - alpha_soc = 0.3 + alpha_soc = 0.9 h = np.r_[0.0, 0.25, 0.5, 1.0, 1.5] phi = np.linspace(-pi, pi, 37) @@ -91,7 +91,7 @@ def main(): plt.plot(phi / pi, Jx_mean.T) plt.xlabel(r"$\varphi / \pi$") plt.ylabel(r"$I$") - plt.legend() + plt.legend(h, title="$h$") plt.savefig("cpr_sns.pdf")