Changeset 2550 in lmdz_wrf
- Timestamp:
- May 22, 2019, 4:25:37 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r2549 r2550 1953 1953 elif u == 'C': lu='$^{\circ}C$' 1954 1954 elif u == 'Celsius/d': lu='$^{\circ}Cd^{-1}$' 1955 elif u == 'cm/yr': lu='$cm yr^{-1}$' 1956 elif u == 'cmyr-1': lu='$cm yr^{-1}$' 1957 elif u == 'cm yr-1': lu='$cm yr^{-1}$' 1958 elif u == 'cm/year': lu='$cm year^{-1}$' 1959 elif u == 'cmyear-1': lu='$cm year^{-1}$' 1960 elif u == 'cm year-1': lu='$cm year^{-1}$' 1955 1961 elif u == 'days': lu='$day$' 1956 1962 elif u == 'Degrees': lu='$degrees$' … … 3164 3170 if kind == 'squared': 3165 3171 Ncol = int(np.sqrt(Npanels)) 3166 Nrow = Npanels / Ncol + 13172 Nrow = Npanels / Ncol 3167 3173 if Ncol > Nrow: 3168 3174 Ncol0 = Ncol + 0 3169 3175 Ncol = Nrow + 0 3170 3176 Nrow = Ncol0 3177 if Ncol*Nrow < Npanels: Nrow = Nrow + 1 3171 3178 elif kind[0:6] == 'colfix': 3172 3179 Ncol = int(kind.split(',')[1])
Note: See TracChangeset
for help on using the changeset viewer.