Changeset 218 in lmdz_wrf for trunk/tools/drawing.py
- Timestamp:
- Jan 14, 2015, 5:28:41 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing.py
r204 r218 1479 1479 draw_lines(ncfilens, values, varname): 1480 1480 ncfilens= [filen] ',' separated list of netCDF files 1481 values= [dimvname]:[valuesaxis]:[dimtit]:[leglabels]:[vtit]:[title]:[ graphk]1481 values= [dimvname]:[valuesaxis]:[dimtit]:[leglabels]:[vtit]:[title]:[locleg]:[graphk] 1482 1482 [dimvname]: name of the variable with he values of the common dimension 1483 1483 [valuesaxis]: which axis will be used for the values ('x', or 'y') … … 1486 1486 [vartit]: name of the variable in the graph 1487 1487 [title]: title of the plot ('|' for spaces) 1488 [locleg]: location of the legend (-1, autmoatic) 1489 1: 'upper right', 2: 'upper left', 3: 'lower left', 4: 'lower right', 1490 5: 'right', 6: 'center left', 7: 'center right', 8: 'lower center', 1491 9: 'upper center', 10: 'center' 1488 1492 [graphk]: kind of the graphic 1489 1493 varname= variable to plot … … 1498 1502 quit() 1499 1503 1500 expectargs = '[dimvname]:[valuesaxis]:[dimtit]:[leglabels]:[vtit]:[title]:[ graphk]'1504 expectargs = '[dimvname]:[valuesaxis]:[dimtit]:[leglabels]:[vtit]:[title]:[locleg]:[graphk]' 1501 1505 drw.check_arguments(fname,len(expectargs.split(':')),values,':',expectargs) 1502 1506
Note: See TracChangeset
for help on using the changeset viewer.