Changeset 201 for trunk/MESOSCALE/PLOT/PYTHON/mylib/myplot.py
- Timestamp:
- Jul 7, 2011, 7:10:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/PLOT/PYTHON/mylib/myplot.py
r199 r201 255 255 return m 256 256 257 def fmtvar (whichvar="def"): 258 fmtvar = { \ 259 "tk": "%.0f",\ 260 "tpot": "%.0f",\ 261 "def": "%.1e",\ 262 "PTOT": "%.0f",\ 263 "USTM": "%.2f",\ 264 } 265 if whichvar not in fmtvar: 266 whichvar = "def" 267 return fmtvar[whichvar] 268 257 269 def marsmap (whichone="vishires"): 258 270 whichlink = { \ 259 271 "vis": "http://maps.jpl.nasa.gov/pix/mar0kuu2.jpg",\ 260 "vishires": "http:// users.info.unicaen.fr/~karczma/TEACH/InfoGeo/Images/Planets/MarsMap_2500x1250.jpg",\272 "vishires": "http://dl.dropbox.com/u/11078310/MarsMap_2500x1250.jpg",\ 261 273 "mola": "http://www.lns.cornell.edu/~seb/celestia/mars-mola-2k.jpg",\ 262 "molabw": "http:// users.info.unicaen.fr/~karczma/TEACH/InfoGeo/Images/Planets/MarsElevation_2500x1250.jpg",\274 "molabw": "http://dl.dropbox.com/u/11078310/MarsElevation_2500x1250.jpg",\ 263 275 } 264 276 if whichone not in whichlink:
Note: See TracChangeset
for help on using the changeset viewer.