Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Utilities/Python/scripts/impinging_jet.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@
label = f'FDS {res}' if i == 0 else None
fig = fdsplotlib.plot_to_fig(x_data=Re_j, y_data=Nu_fds, data_label=label, figure_handle=fig, marker_style=markers[res], marker_fill_color=(1,1,1,0.0))

# Convert exponential to scientific
fdsplotlib.apply_global_exponent(fig.axes[0], axis='x', fontsize=plot_style['Label_Font_Size'])

# Save figure
corr_pdf = os.path.join(pltdir, 'impinging_jet_correlation.pdf')
fig.savefig(corr_pdf)
Expand Down
3 changes: 1 addition & 2 deletions Utilities/Python/scripts/mass_balance.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ def plot_mass_balance(chid, title_text):
legend = ax.get_legend()
if legend:
legend.legend_handles[1].set_color('orange') # Second legend entry (Outlet H2O)

fdsplotlib.apply_global_exponent(ax, axis='y')

ax.text(100, 18e-3, title_text,fontsize=plot_style['Title_Font_Size'],fontname=plot_style['Font_Name'])

# Compute mean error for t > 1000 s
Expand Down
2 changes: 1 addition & 1 deletion Utilities/Python/scripts/mass_balance_gas_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def plot_mass_balance(chid, title_text):
legend = ax.get_legend()
if legend:
legend.legend_handles[1].set_color('orange') # Second legend entry (out-in)
fdsplotlib.apply_global_exponent(ax, axis='y')

if title_text:
ax.text(100, 18e-3, title_text, fontsize=plot_style['Title_Font_Size'],
fontname=plot_style['Font_Name'])
Expand Down