- Timestamp:
- May 2, 2018, 10:38:06 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r1901 r1911 1941 1941 elif u == 'kgm-2s-1': lu='$kgm^{-2}s^{-1}$' 1942 1942 elif u == 'kg m-2 s-1': lu='$kgm^{-2}s^{-1}$' 1943 elif u == 'kg-1 s-1': lu='$kg^{-1}s^{-1}$' 1943 1944 elif u == 'kmh-1': lu='$kmh^{-1}$' 1944 1945 elif u == 'km h-1': lu='$km h^{-1}$' … … 1974 1975 elif u == 'meters MSL': lu='$m$' 1975 1976 elif u == 'No.': lu='$number$' 1977 elif u == 'numkg-1': lu='$numkg^{-1}$' 1978 elif u == '#kg-1': lu='$numkg^{-1}$' 1979 elif u == '\#kg-1': lu='$numkg^{-1}$' 1980 elif u == ' kg(-1)': lu='$numkg^{-1}$' 1981 elif u == 'numkg-1s-1': lu='$numkg^{-1}s^{-1}$' 1982 elif u == '#kg-1 s-1': lu='$numkg^{-1}s^{-1}$' 1983 elif u == '\#kg-1 s-1': lu='$numkg^{-1}s^{-1}$' 1984 elif u == ' kg(-1) s-1': lu='$numkg^{-1}s^{-1}$' 1976 1985 elif u == 'none': lu='-' 1977 1986 elif u == 'Pa/s': lu='$Pas^{-1}$' … … 1990 1999 print errormsg 1991 2000 print ' ' + fname + ': units "' + u + '" not ready!!!!' 2001 Schar = [] 2002 for ic in range(len(u)): 2003 Schar.append(ord(u[ic:ic+1])) 2004 print ' character combination by ASCII numbers: ', Schar 1992 2005 quit(-1) 1993 2006
Note: See TracChangeset
for help on using the changeset viewer.