IAP GITLAB

Skip to content
Snippets Groups Projects
Commit fa0016fa authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan:
Browse files

fix y-label in longitudinal profile

parent 5c9c1590
No related branches found
No related tags found
1 merge request!651Fix y-label in longitudinal profile example
Pipeline #13973 passed
...@@ -72,7 +72,7 @@ def draw_profiles(pr, pr_config): ...@@ -72,7 +72,7 @@ def draw_profiles(pr, pr_config):
ax.set_title(pr_config["type"] + "\n" + title) ax.set_title(pr_config["type"] + "\n" + title)
unit_grammage_str = pr_config["units"]["grammage"] # get units of simulation output unit_grammage_str = pr_config["units"]["grammage"] # get units of simulation output
ax.set_xlabel(f"slant depth, X ({unit_grammage_str})") ax.set_xlabel(f"slant depth, X ({unit_grammage_str})")
ax.set_ylabel("dN/dX") ax.set_ylabel("N(X)")
ax.legend() ax.legend()
ax.set_yscale("log") ax.set_yscale("log")
ax.set_xlim(min(pr["X"]), max(pr["X"])) ax.set_xlim(min(pr["X"]), max(pr["X"]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment