Changeset 947 for trunk/UTIL


Ignore:
Timestamp:
Apr 27, 2013, 4:28:56 PM (12 years ago)
Author:
aslmd
Message:

UTIL PYTHON planetoplot. added corrections for color lines in 1D plots.

File:
1 edited

Legend:

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

    r943 r947  
    2525# -------------------------------
    2626mpl.rcParams['font.family'] = "serif"
    27 mpl.rcParams['axes.color_cycle'] = "r,g,b,k"
     27mpl.rcParams['axes.color_cycle'] = "b,r,g,k"
    2828mpl.rcParams['contour.negative_linestyle'] = "dashed" # ou "solid"
    2929mpl.rcParams['verbose.level'] = "silent"
     
    371371    # -------------------------------
    372372    def __init__(self,\
    373                  lstyle='-',\
    374                  color='b',\
     373                 lstyle=None,\
     374                 color=None,\
    375375                 marker='x',\
    376376                 label=None):
     
    421421            mpl.plot(x,y,color=self.color,marker=self.marker,label=self.label)
    422422        elif self.lstyle is not None:
    423             mpl.plot(x,y,self.lstyle,marker=self.marker,label=self.label)
     423            mpl.plot(x,y,linestyle=self.lstyle,marker=self.marker,label=self.label)
    424424        else:
    425425            mpl.plot(x,y,marker=self.marker,label=self.label)
Note: See TracChangeset for help on using the changeset viewer.