- Timestamp:
- Jul 1, 2025, 11:39:58 AM (5 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/deftank/visu_layering.py
r3792 r3819 157 157 # 1. Simple subplots 158 158 fig, axes = plt.subplots(1, n_components, sharey=True, constrained_layout=True) 159 fig.suptitle('Simple Content Profiles for Stratification' )159 fig.suptitle('Simple Content Profiles for Stratification', fontweight='bold') 160 160 161 161 for idx, ax in enumerate(axes): … … 183 183 plt.xlabel('Volume Fraction [m^3/m^3]') 184 184 plt.ylabel('Elevation [m]') 185 plt.title('Content Profiles for Stratification' )185 plt.title('Content Profiles for Stratification', fontweight='bold') 186 186 plt.legend() 187 187 plt.savefig('layering_overlaid_profiles.png') … … 206 206 plt.xlabel('Volume Fraction [m^3/m^3]') 207 207 plt.ylabel('Elevation [m]') 208 plt.title('Stacked Content Profiles for Stratification' )208 plt.title('Stacked Content Profiles for Stratification', fontweight='bold') 209 209 plt.legend(loc='center left', bbox_to_anchor=(1, 0.5)) 210 210 plt.tight_layout() … … 223 223 plt.ylim(0, 1) 224 224 plt.ylabel('Volume Fraction [m^3/m^3]') 225 plt.title(f'Composition of Stratum {istr_index + 1}' )225 plt.title(f'Composition of Stratum {istr_index + 1}', fontweight='bold') 226 226 # Add major and minor grids on y-axis for the histogram 227 227 plt.grid(which='major', axis='y', linestyle='--', linewidth=0.5, color='0.8')
Note: See TracChangeset
for help on using the changeset viewer.