Ignore:
Timestamp:
Apr 27, 2013, 2:49:02 PM (12 years ago)
Author:
aslmd
Message:

clean and organized UTIL/PYTHON folder

Location:
trunk/UTIL/PYTHON/planetoplot_v2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/planetoplot_v2/ppplot.py

    r942 r943  
    392392        if self.var is not None:
    393393         if self.var.upper() in vl.keys():
    394           self.ylabel = vl[self.var.upper()]
     394          self.ylabel = vl[self.var.upper()] + " (" + vu[self.var.upper()] + ")"
    395395          self.title = ""
    396396          self.fmt = vf[self.var.upper()]
     
    564564            # make shaded and line contours
    565565            if self.addcontour is not None:
    566                 mpl.contour(x, y, what_I_contour, \
     566                objC = mpl.contour(x, y, what_I_contour, \
    567567                            zelevelsc, colors = ccol, linewidths = cline)
     568                #mpl.clabel(objC, inline=1, fontsize=10)
    568569            mpl.contourf(x, y, \
    569570                         self.field, \
     
    666667            # contour field. first line contour then shaded contour.
    667668            if self.addcontour is not None:
    668                 m.contour(x, y, what_I_contour, \
     669                objC2 = m.contour(x, y, what_I_contour, \
    669670                            zelevelsc, colors = ccol, linewidths = cline)
     671                #mpl.clabel(objC2, inline=1, fontsize=10)
    670672            m.contourf(x, y, what_I_plot, zelevels, cmap = palette, alpha = self.trans)
    671673        ############################################################################################
  • trunk/UTIL/PYTHON/planetoplot_v2/set_var.txt

    r942 r943  
    2222HGT ; %.1e ; spectral ; Topography ; m
    2323HGT_M ; %.1e ; spectral ; Topography ; m
     24ZMOL ; %.0f ; spectral ; Topography ; km
    2425MARS_TI ; %.0f ; jet ; Thermal inertia ; tiu
    2526THERMAL_INERTIA ; %.0f ; jet ; Thermal inertia ; tiu
     27ALBEDO ; %.2f ; Greys_r ; Albedo ; dimless
    2628TAU ; %.1f ; YlOrBr_r ; Opacity ; dimless
    2729TAU_DUST ; %.1f ; Oranges_r ; Dust opacity ; dimless
Note: See TracChangeset for help on using the changeset viewer.