original_docstring: 
          This method plots different poiseuille's wss signals in the same figure.
          
docstring: This method plots different poiseuille's wss signals in the same figure.
docstring_tokens: This method plots different poiseuille ' s wss signals in the same figure .
code: def PlotPWSSs(self, meshIds):
          '''
          This method plots different poiseuille's wss signals in the same figure.
          '''
          try:
              from matplotlib.pyplot import plot, xlabel, ylabel, title, legend, savefig, close
          except ImportError:
              MatPlotLibError()
          colourvector = ['r', 'b', 'g', 'c', 'm', 'y', 'k']
          indexcolour = 0
              
          for meshid in meshIds:
              meshid = str(meshid)
              for element in self.NetworkMesh.Elements:
                  if element.Id == meshid:
                      dofs = element.GetPoiseuilleDofs()
                      p1 = self.Solutions[(self.DofMap.DofMap[element.Id, dofs[0]]),self.CardiacFreq*(self.Cycles-1):]
                      p2 = self.Solutions[(self.DofMap.DofMap[element.Id, dofs[1]]),self.CardiacFreq*(self.Cycles-1):]
                      if mean(p1)>=mean(p2):                        
                          Flow = (p1-p2)/element.R
                      else:
                          Flow = (p2-p1)/element.R
  
                      Wss = ((4.0*element.eta)/pi) * (Flow/(mean(element.Radius))**3)
                      plot(self.t, Wss, colourvector[indexcolour],linewidth = 3, label = element.Name)   
                      xlabel('Time ($s$)')
                      ylabel('Wss ($Pa$)')
                      title ('Wall shear stress')   
                      legend(loc=0)
                      if indexcolour == 6:
                          indexcolour = 0
                      else:
                          indexcolour+=1
    
          savefig(self.w_images + ' Wss.png')
          close()
          indexcolour = 0
code_tokens: def PlotPWSSs ( self , meshIds ) : try : from matplotlib . pyplot import plot , xlabel , ylabel , title , legend , savefig , close except ImportError : MatPlotLibError ( ) colourvector = [ 'r' , 'b' , 'g' , 'c' , 'm' , 'y' , 'k' ] indexcolour = 0 for meshid in meshIds : meshid = str ( meshid ) for element in self . NetworkMesh . Elements : if element . Id == meshid : dofs = element . GetPoiseuilleDofs ( ) p1 = self . Solutions [ ( self . DofMap . DofMap [ element . Id , dofs [ 0 ] ] ) , self . CardiacFreq * ( self . Cycles - 1 ) : ] p2 = self . Solutions [ ( self . DofMap . DofMap [ element . Id , dofs [ 1 ] ] ) , self . CardiacFreq * ( self . Cycles - 1 ) : ] if mean ( p1 ) >= mean ( p2 ) : Flow = ( p1 - p2 ) / element . R else : Flow = ( p2 - p1 ) / element . R Wss = ( ( 4.0 * element . eta ) / pi ) * ( Flow / ( mean ( element . Radius ) ) ** 3 ) plot ( self . t , Wss , colourvector [ indexcolour ] , linewidth = 3 , label = element . Name ) xlabel ( 'Time ($s$)' ) ylabel ( 'Wss ($Pa$)' ) title ( 'Wall shear stress' ) legend ( loc = 0 ) if indexcolour == 6 : indexcolour = 0 else : indexcolour += 1 savefig ( self . w_images + ' Wss.png' ) close ( ) indexcolour = 0
short_docstring: This method plots different poiseuille's wss signals in the same figure.
short_docstring_tokens: This method plots different poiseuille ' s wss signals in the same figure .
comment: '''
          This method plots different poiseuille's wss signals in the same figure.
          '''