Changeset 681 in lmdz_wrf
- Timestamp:
- Jan 22, 2016, 6:19:28 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r680 r681 16 16 fillValue = 1.e20 17 17 fillValueF = 1.e20 18 19 pointkindsauto = ['.', ',', 'x', '+', '*', '|', '_', 'o', '<', '>', 'v', '^', \ 20 's', 'p', 'h' ,'D'] 18 21 19 22 ####### Funtions … … 2491 2494 Nlines = len(valtimes) 2492 2495 # Canging line kinds every 7 lines (end of standard colors) 2493 pointkindsauto=['.', ',', 'x', 'o', '*', '+', '<', '|', '_', '>', '1', '8', 's', \2494 'p', 'h', 'D']2495 2496 Npts = len(pointkindsauto) 2496 2497 linekinds = [] … … 5435 5436 linekinds = [] 5436 5437 pointkinds = [] 5437 pointkindsauto=['.', ',', 'x', 'o', '*', '+', '<', '|', '_', '>', '1', '8', 's', \5438 'p', 'h', 'D']5439 5438 Nkpts = len(pointkindsauto) 5440 5439 if ptl is None: … … 5552 5551 5553 5552 plt.title(graphtit) 5553 print plt.legend.__doc__ 5554 5554 if linesn0 is not None: 5555 plt.legend(loc=gloc) 5555 if Ntraj < 10: 5556 plt.legend(loc=gloc) 5557 elif 10 < Ntraj < 20: 5558 plt.legend(loc=gloc, prop={'size':10}) 5559 else: 5560 plt.legend(loc=gloc, prop={'size':8}) 5556 5561 5557 5562 print plt.xlim(),':', plt.ylim()
Note: See TracChangeset
for help on using the changeset viewer.