Changeset 1007 for trunk/UTIL/PYTHON/planetoplot_v2/ppplot.py
- Timestamp:
- Jul 19, 2013, 10:35:53 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot_v2/ppplot.py
r1004 r1007 180 180 # useful functions # 181 181 #################### 182 183 # continuity with matplotlib 184 def close(): 185 mpl.close() 186 187 # a function for predefined figure sizes 188 def figuref(x=16,y=9): 189 mpl.figure(figsize=(x,y)) 182 190 183 191 # a function to change color lines according to a color map (idea by A. Pottier) … … 649 657 objC = mpl.contour(x, y, what_I_contour, \ 650 658 zelevelsc, colors = ccol, linewidths = cline) 651 #mpl.clabel(objC, inline=1, fontsize=10) 659 #mpl.clabel(objC, inline=1, fontsize="small",\ 660 # inline_spacing=1,fmt="%.0f") 652 661 mpl.contourf(x, y, \ 653 662 self.field, \ 654 663 zelevels, cmap=palette) 664 #mpl.pcolor(x,y,\ 665 # self.field, \ 666 # cmap=palette) 655 667 # make log axes and/or invert ordinate 656 668 ax = mpl.gca()
Note: See TracChangeset
for help on using the changeset viewer.