Changeset 2248 in lmdz_wrf
- Timestamp:
- Nov 26, 2018, 3:27:27 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r2183 r2248 2853 2853 vrng: list of two values: maximum and minimum for the range of the figure 2854 2854 'Srange': for full range 2855 'Saroundzero@val': for -xtrm,xtrm where xtrm = np.max(abs(min),abs(max) 2855 2856 'Saroundmean@val': for mean-xtrm,mean+xtrm where xtrm = np.min(mean-min@val,max@val-mean) 2856 2857 'Saroundminmax@val': for min*val,max*val … … 2871 2872 rangegrph[0] = np.min(varsV) 2872 2873 rangegrph[1] = np.max(varsV) 2874 elif vrng[0][0:11] == 'Saroundzero': 2875 minv = np.min(varsV) 2876 maxv = np.max(varsV) 2877 minextrm = np.max([np.abs(minv), np.abs(maxv)]) 2878 rangegrph[0] = -minextrm 2879 rangegrph[1] = minextrm 2873 2880 elif vrng[0][0:11] == 'Saroundmean': 2874 2881 meanv = np.mean(varsV)
Note: See TracChangeset
for help on using the changeset viewer.