Changeset 422 in lmdz_wrf for trunk/tools/drawing.py
- Timestamp:
- May 20, 2015, 2:51:48 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing.py
r396 r422 2070 2070 values=[leglabels]|[lonlatlims]|[title]|[graphk]|[mapkind] 2071 2071 [leglabels]: ',' separated list of names for the legend 2072 [lonlatlims]: limits of the map [lonmin, latmin, lonmax, latmax] or None2073 [title]: title of the plot 2072 [lonlatlims]: ',' list of limits of the map [lonmin, latmin, lonmax, latmax] or None 2073 [title]: title of the plot ('!' for spaces) 2074 2074 [graphk]: kind of the graphic 2075 2075 [mapkind]: drawing coastaline ([proj],[res]) or None … … 2097 2097 quit() 2098 2098 2099 expectargs = '[leglabels]|[lonlatlims]|[title]|[graphk]|[mapkind]' 2100 2101 drw.check_arguments(fname,len(expectargs.split('|')),values,'|',expectargs) 2102 2099 2103 trjfiles = trjfilens.split(',') 2100 2104 leglabels = values.split('|')[0] 2101 2105 lonlatlims = values.split('|')[1] 2102 title = values.split('|')[2] 2106 title = values.split('|')[2].replace('!',' ') 2103 2107 graphk = values.split('|')[3] 2104 2108 mapkind = values.split('|')[4]
Note: See TracChangeset
for help on using the changeset viewer.