Changeset 928 for trunk/UTIL/PYTHON/planetoplot_v2
- Timestamp:
- Apr 4, 2013, 1:52:51 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot_v2/ppplot.py
r923 r928 25 25 mpl.rcParams['font.family'] = "serif" 26 26 mpl.rcParams['axes.color_cycle'] = "r,g,b,k" 27 mpl.rcParams['contour.negative_linestyle'] = "dashed" 27 mpl.rcParams['contour.negative_linestyle'] = "dashed" # ou "solid" 28 28 mpl.rcParams['verbose.level'] = "silent" 29 29 mpl.rcParams['lines.linewidth'] = 1.5 … … 51 51 # (save figures) 52 52 pad_inches_value=0.25 53 # (negative mode) 54 def_negative = False 55 def_negative = True 53 56 ############################################### 57 58 ### settings for 'negative-like' mode 59 if def_negative: 60 mpl.rc('figure', facecolor='k', edgecolor='k') 61 mpl.rcParams['text.color'] = 'w' 62 mpl.rc('axes',labelcolor='w',facecolor='k',edgecolor='w') 63 mpl.rcParams['xtick.color'] = 'w' 64 mpl.rcParams['ytick.color'] = 'w' 65 mpl.rcParams['grid.color'] = 'w' 66 mpl.rc('savefig',facecolor='k',edgecolor='k') 54 67 55 68 ########################## … … 319 332 def make(self): 320 333 self.check() 334 # labels, title, etc... 321 335 mpl.xlabel(self.xlabel) 322 336 mpl.ylabel(self.ylabel)
Note: See TracChangeset
for help on using the changeset viewer.