Changeset 13691 for NEMO/branches
- Timestamp:
- 2020-10-28T16:09:37+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r13648_ASINTER-04_laurent_bulk_ice/tests/STATION_ASF/EXPREF/plot_station_asf_OCE.py
r13690 r13691 20 20 21 21 dir_figs='.' 22 size_fig=(13,8 )22 size_fig=(13,8.5) 23 23 size_fig0=(12,10) 24 24 … … 143 143 144 144 # t_skin 145 vtemp_in = [ 'sst' , 'theta_zu' , 't_skin' ] ; #, 'theta_zt' 146 vtemp_lb = [ 'SST (bulk SST)' , r'$\theta_{zu}$ (pot. air temp. at 10m)' , 'Skin temperature' ] ; #, r'$\theta_{zt}$ (pot. air temp. at 2m)' 147 vtemp_cl = [ 'k' , clr_mod , clr_red ] ; #, clr_mod 148 vtemp_lw = [ 3 , 1.3 , 0.7 ] ; #, 2 149 vtemp_ls = [ '-' , '-' , '-' ] ; #, '-' 150 145 vtemp_in = [ 'sst' , 'theta_zu' , 'theta_zt' , 't_skin' ] 146 vtemp_lb = [ 'SST (bulk SST)', r'$\theta_{zu}$ (pot. air temp. at zu)', r'$\theta_{zt}$ (pot. air temp. at zt)', 'Skin temperature' ] 147 vtemp_cl = [ 'k' , clr_mod , 'purple' , clr_red ] 148 vtemp_lw = [ 3 , 1.3 , 1.3 , 0.7 ] 149 vtemp_ls = [ '-' , '-' , '--' , '-' ] 151 150 ntemp = len(vtemp_in) 152 151 … … 177 176 ax1.grid(color='k', linestyle='-', linewidth=0.3) 178 177 plt.legend(loc='best', ncol=1, shadow=True, fancybox=True) 179 ax1.annotate('Algo: '+L_ALGOS[ja]+', station: '+cforcing, xy=(0. 4, 1.), xycoords='axes fraction', bbox={'facecolor':'w', 'alpha':1., 'pad':10}, zorder=50, **font_inf)178 ax1.annotate('Algo: '+L_ALGOS[ja]+', station: '+cforcing, xy=(0.5, 1.), xycoords='axes fraction', ha='center', bbox={'facecolor':'w', 'alpha':1., 'pad':10}, zorder=50, **font_inf) 180 179 plt.savefig('01_temperatures_'+L_ALGOS[ja]+'_'+cforcing+'.'+fig_ext, dpi=int(rDPI), transparent=False) 181 180 plt.close(1) … … 207 206 208 207 fig = plt.figure(num = jv, figsize=size_fig, facecolor='w', edgecolor='k') 209 ax1 = plt.axes([0.08, 0.2 5, 0.9, 0.7])208 ax1 = plt.axes([0.08, 0.23, 0.9, 0.7]) 210 209 ax1.set_xticks(vtime[::xticks_d]) 211 210 ax1.xaxis.set_major_formatter(mdates.DateFormatter('%Y-%m-%d %H:%M:%S')) … … 223 222 ax1.grid(color='k', linestyle='-', linewidth=0.3) 224 223 plt.legend(loc='best', ncol=1, shadow=True, fancybox=True) 225 ax1.annotate(cvar_lnm+', station: '+cforcing, xy=(0. 3, 1.), xycoords='axes fraction', bbox={'facecolor':'w', 'alpha':1., 'pad':10}, \224 ax1.annotate(cvar_lnm+', station: '+cforcing, xy=(0.5, 1.04), xycoords='axes fraction', ha='center', bbox={'facecolor':'w', 'alpha':1., 'pad':10}, \ 226 225 zorder=50, **font_inf) 227 226 plt.savefig(L_VARO[jv]+'_'+cforcing+'.'+fig_ext, dpi=int(rDPI), transparent=False)
Note: See TracChangeset
for help on using the changeset viewer.