Changeset 783 for trunk/UTIL
- Timestamp:
- Sep 13, 2012, 4:10:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/myplot.py
r782 r783 809 809 elif 'u' in varinfile: [uchar,vchar] = ['u','v'] #; print "this is GCM file" 810 810 elif 'vitu' in varinfile: [uchar,vchar] = ['vitu','vitv'] #; print "this is GCM v5 file" 811 811 ### you can add choices here ! 812 812 else: [uchar,vchar] = ['not found','not found'] 813 813 ### … … 921 921 m.drawmeridians(np.r_[-180.:180.:steplon], labels=[0,0,0,1], color=zecolor, linewidth=zelinewidth, fontsize=fontsizemer, latmax=zelatmax) 922 922 m.drawparallels(np.r_[-90.:90.:step], labels=[1,0,0,0], color=zecolor, linewidth=zelinewidth, fontsize=fontsizemer, latmax=zelatmax) 923 if back: m.warpimage(marsmap(back),scale=0.75) 923 if back: 924 if back not in ["coast","sea"]: m.warpimage(marsmap(back),scale=0.75) 925 elif back == "coast": m.drawcoastlines() 926 elif back == "sea": m.drawlsmask(land_color='white',ocean_color='aqua') 924 927 #if not back: 925 928 # if not var: back = "mola" ## if no var: draw mola
Note: See TracChangeset
for help on using the changeset viewer.