Example #1
0
 def _create_change_plots(self, common_scale=False):
     max = None
     min = 0
     ctom, max, min = self._create_plot(max, min, self.change_tom,
                                        'Total organic matter')
     cwoody, max, min = self._create_plot(max, min, self.change_woody,
                                          'Woody matter')
     cnonwoody, max, min = self._create_plot(max, min, self.change_non_woody,
                                          'Non-woody matter')
     ca, max, min = self._create_plot(max, min, self.change_acid,
                                      'A')
     cw, max, min = self._create_plot(max, min, self.change_water,
                                      'W')
     ce, max, min = self._create_plot(max, min, self.change_ethanol,
                                      'E')
     cn, max, min = self._create_plot(max, min, self.change_non_soluble,
                                      'N')
     ch, max, min = self._create_plot(max, min, self.change_humus, 'H')
     if common_scale:
         for pl in (ctom, cwoody, cnonwoody, ca, cw, ce, cn, ch):
             pl.value_range.set_bounds(min, max)
     container = GridContainer(ctom, cwoody, cnonwoody, ca, cw, ce, cn, ch)
     container.shape = (3,3)
     container.spacing = (-15,-15)
     self.change_plots = container
Example #2
0
 def _create_stock_plots(self, common_scale=False):
     max = None
     min = 0
     stom, max, min = self._create_plot(max, min, self.stock_tom,
                                   'Total organic matter')
     swoody, max, min = self._create_plot(max, min, self.stock_woody,
                                     'Woody matter')
     snonwoody, max, min = self._create_plot(max, min, self.stock_non_woody,
                                     'Non-woody matter')
     sa, max, min = self._create_plot(max, min, self.stock_acid,
                                      'A')
     sw, max, min = self._create_plot(max, min, self.stock_water,
                                      'W')
     se, max, min = self._create_plot(max, min, self.stock_ethanol,
                                      'E')
     sn, max, min = self._create_plot(max, min, self.stock_non_soluble,
                                      'N')
     sh, max, min = self._create_plot(max, min, self.stock_humus, 'H')
     if common_scale:
         for pl in (stom, swoody, snonwoody, sa, sw, se, sn, sh):
             pl.value_range.set_bounds(min, max)
     container = GridContainer(stom, swoody, snonwoody, sa, sw, se, sn, sh)
     container.shape = (3,3)
     container.spacing = (-8,-8)
     self.stock_plots = container
Example #3
0
 def _create_change_plots(self, common_scale=False):
     max = None
     min = 0
     ctom, max, min = self._create_plot(max, min, self.change_tom, "Total organic matter")
     cwoody, max, min = self._create_plot(max, min, self.change_woody, "Woody matter")
     cnonwoody, max, min = self._create_plot(max, min, self.change_non_woody, "Non-woody matter")
     ca, max, min = self._create_plot(max, min, self.change_acid, "Acid soluble")
     cw, max, min = self._create_plot(max, min, self.change_water, "Water soluble")
     ce, max, min = self._create_plot(max, min, self.change_ethanol, "Ethanol soluble")
     cn, max, min = self._create_plot(max, min, self.change_non_soluble, "Non soluble")
     ch, max, min = self._create_plot(max, min, self.change_humus, "Humus")
     if common_scale:
         for pl in (ctom, cwoody, cnonwoody, ca, cw, ce, cn, ch):
             pl.value_range.set_bounds(min, max)
     container = GridContainer(ctom, cwoody, cnonwoody, ca, cw, ce, cn, ch)
     container.shape = (3, 3)
     container.spacing = (-15, -15)
     self.change_plots = container
Example #4
0
 def _create_stock_plots(self, common_scale=False):
     max = None
     min = 0
     stom, max, min = self._create_plot(max, min, self.stock_tom, "Total organic matter")
     swoody, max, min = self._create_plot(max, min, self.stock_woody, "Woody matter")
     snonwoody, max, min = self._create_plot(max, min, self.stock_non_woody, "Non-woody matter")
     sa, max, min = self._create_plot(max, min, self.stock_acid, "Acid soluble")
     sw, max, min = self._create_plot(max, min, self.stock_water, "Water soluble")
     se, max, min = self._create_plot(max, min, self.stock_ethanol, "Ethanol soluble")
     sn, max, min = self._create_plot(max, min, self.stock_non_soluble, "Non soluble")
     sh, max, min = self._create_plot(max, min, self.stock_humus, "Humus")
     if common_scale:
         for pl in (stom, swoody, snonwoody, sa, sw, se, sn, sh):
             pl.value_range.set_bounds(min, max)
     container = GridContainer(stom, swoody, snonwoody, sa, sw, se, sn, sh)
     container.shape = (3, 3)
     container.spacing = (-8, -8)
     self.stock_plots = container