Example #1
0
 def plotZweige(self, cAx):
     fWdthZw, offsZWd = self.dIA['fWdthZw'], self.dIA['offsWdthZw']
     lClrZw = self.dIA['lClrZweig']
     for cK in self.lK:
         for cZw in cK.lZw:
             cLwd = cZw.ageZ * fWdthZw + offsZWd
             cCol = Fkt.getCol(lClrZw, self.dIA['colModeZw'], cZw.ageZ)
             cAx.plot(cZw.arrX,
                      cZw.arrY,
                      cZw.arrZ,
                      linestyle='solid',
                      linewidth=cLwd,
                      color=cCol)
Example #2
0
 def plotBlaetter(self, cAx):
     lClrB, sPlWhich = self.dIA['lClrBltS1'], self.dIA['dPlot']['Blatt'][1]
     mEW = self.dITp['wdEdgeBl']
     if self.dIA['colSetBl'] == 'Autumn':
         lClrB = self.dIA['lClrBltS2']
     for cK in self.lK:
         for cBt in cK.lBt:
             if ((sPlWhich in ['All', 'Current'] and cBt.ageBt == 1) or
                 (sPlWhich in ['All', 'Previous'] and cBt.ageBt > 1)):
                 cCol = Fkt.getCol(lClrB, self.dIA['colModeBl'], cBt.ageBt)
                 mSz = np.average([cBt.lenBt, cBt.widBt])
                 mSz *= self.dITp['fMarkSzBl']
                 lX, lY, lZ = Fkt.getCCMidP(cBt.pS, cBt.vDirBt, cBt.lenBt)
                 cAx.plot(lX,
                          lY,
                          lZ,
                          linestyle='None',
                          marker='H',
                          ms=mSz,
                          markeredgewidth=mEW,
                          color=cCol)