scripts/gray: fix labels in profiles plot

This commit is contained in:
Michele Guerini Rocco 2025-03-14 11:45:40 +01:00
parent 82948593fe
commit 6bde400656
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -348,7 +348,7 @@ def plot_profiles(outputs: Path, axes: [plt.Axes]):
cur_dens = axes['A']
cur_dens.set_title('current density', loc='right')
cur_dens.set_ylabel(r'$J_\text{CD} \;/\;$ kA/m³')
cur_dens.set_ylabel(r'$J_\text{CD} \;/\;$ MA/m²')
pow_dens = axes['B']
pow_dens.set_title('power density', loc='right')
@ -356,7 +356,7 @@ def plot_profiles(outputs: Path, axes: [plt.Axes]):
cur_ins = axes['C']
cur_ins.set_title('current within $ρ$', loc='right')
cur_ins.set_ylabel(r'$I_\text{CD,inside} \;/\;$ kA')
cur_ins.set_ylabel(r'$I_\text{CD,inside} \;/\;$ MA')
pow_ins = axes['D']
pow_ins.set_title('power within $ρ$', loc='right')