- Timestamp:
- Jan 15, 2014, 10:21:55 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot_v2/ppclass.py
r1116 r1158 179 179 xlabel=None,ylabel=None,\ 180 180 xcoeff=None,ycoeff=None,\ 181 xmin=None,ymin=None,\ 182 xmax=None,ymax=None,\ 181 183 nxticks=10,nyticks=10,\ 182 184 proj=None,\ … … 244 246 self.xlabel = xlabel ; self.xcoeff = xcoeff 245 247 self.ylabel = ylabel ; self.ycoeff = ycoeff 248 self.xmin = xmin ; self.xmax = xmax 249 self.ymin = ymin ; self.ymax = ymax 246 250 self.proj = proj 247 251 self.vmin = vmin ; self.vmax = vmax … … 306 310 self.proj = other.proj 307 311 self.vmin = other.vmin ; self.vmax = other.vmax 312 self.xmin = other.xmin ; self.xmax = other.xmax 313 self.ymin = other.ymin ; self.ymax = other.ymax 308 314 self.div = other.div 309 315 self.colorbar = other.colorbar … … 874 880 if self.showcb is not None: plobj.showcb = self.showcb 875 881 if self.logy is not None: plobj.logy = self.logy 882 if self.xmin is not None: plobj.xmin = self.xmin 883 if self.xmax is not None: plobj.xmax = self.xmax 884 if self.ymin is not None: plobj.ymin = self.ymin 885 if self.ymax is not None: plobj.ymax = self.ymax 876 886 # -- 1D specific 877 887 if dp == 1: … … 1011 1021 # set saved titles and labels 1012 1022 if self.plotin is None: 1013 pl.xlabel,pl.ylabel,pl.xcoeff,pl.ycoeff,pl.title,pl.swaplab = sav 1023 pl.xlabel,pl.ylabel,\ 1024 pl.xcoeff,pl.ycoeff,\ 1025 pl.nxticks,pl.nyticks,\ 1026 pl.xmin,pl.xmax,\ 1027 pl.ymin,pl.ymax,\ 1028 pl.title,pl.swaplab = sav 1014 1029 else: 1015 1030 prev_plot = self.plotin.p[self.n-1] 1016 pl.xlabel = prev_plot.xlabel 1017 pl. ylabel = prev_plot.ylabel1018 pl. xcoeff = prev_plot.xcoeff1019 pl. ycoeff = prev_plot.ycoeff1020 pl. title = prev_plot.title1021 pl. swaplab = prev_plot.swaplab1031 pl.xlabel = prev_plot.xlabel ; pl.ylabel = prev_plot.ylabel 1032 pl.xcoeff = prev_plot.xcoeff ; pl.ycoeff = prev_plot.ycoeff 1033 pl.nxticks = prev_plot.nxticks ; pl.nyticks = prev_plot.nyticks 1034 pl.xmin = prev_plot.xmin ; pl.xmax = prev_plot.xmax 1035 pl.ymin = prev_plot.ymin ; pl.ymax = prev_plot.ymax 1036 pl.title = prev_plot.title ; pl.swaplab = prev_plot.swaplab 1022 1037 else: 1023 1038 self.fig.add_subplot(self.subv,self.subh,self.n+1,axisbg=pl.axisbg)
Note: See TracChangeset
for help on using the changeset viewer.