Changeset 2591 in lmdz_wrf
- Timestamp:
- Jun 3, 2019, 7:51:05 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r2590 r2591 3235 3235 rotpar: angle of ratation of the labels of the parallels 3236 3236 col: color of lines ('#080808' default) 3237 lw dith: width of the lines (0.25, default)3237 lwidth: width of the lines (0.25, default) 3238 3238 """ 3239 3239 fname = 'draw_MerPara' … … 3242 3242 if np.mod(ip,Ncol) == 0: 3243 3243 mape.drawparallels(pars,labels=[True,False,False,True], fontsize=fsize, \ 3244 color=col, rotation=rotpar, linewidth=lw dith)3244 color=col, rotation=rotpar, linewidth=lwidth) 3245 3245 elif np.mod(ip+1,Ncol) == 0: 3246 3246 mape.drawparallels(pars,labels=[False,True,True,False], fontsize=fsize, \ 3247 color=col, rotation=rotpar, linewidth=lw dith)3247 color=col, rotation=rotpar, linewidth=lwidth) 3248 3248 else: 3249 3249 mape.drawparallels(pars,labels=[False,False,False,False], fontsize=fsize, \ 3250 color=col, rotation=rotpar, linewidth=lw dith)3250 color=col, rotation=rotpar, linewidth=lwidth) 3251 3251 3252 3252 if ip+1 > (Nrow-1)*Ncol: 3253 3253 mape.drawmeridians(mers, labels=[True,False,False,True], fontsize=fsize, \ 3254 color=col, rotation=rotmer, linewidth=lw dith)3254 color=col, rotation=rotmer, linewidth=lwidth) 3255 3255 # NO on top meridians 3256 3256 # elif ip+1 < Ncol: … … 3259 3259 else: 3260 3260 mape.drawmeridians(mers, labels=[False,False,False,False], fontsize=fsize, \ 3261 color=col, rotation=rotmer, linewidth=lw dith)3261 color=col, rotation=rotmer, linewidth=lwidth) 3262 3262 3263 3263 return
Note: See TracChangeset
for help on using the changeset viewer.