original_docstring: 
          This method plots brachial, radial and ulnar pressure signal.
          
docstring: This method plots brachial, radial and ulnar pressure signal.
docstring_tokens: This method plots brachial radial and ulnar pressure signal .
code: def PlotPressureComparative(self):
          '''
          This method plots brachial, radial and ulnar pressure signal.
          '''
          try:
              from matplotlib.pyplot import plot, xlabel, ylabel, title, legend, savefig, close
          except ImportError:
              MatPlotLibError()
          PressureBrachial = 0
          PressureRadial = 0
          PressureUlnar = 0
          i = 0
          j = 0
          k = 0
          for element in self.NetworkMesh.Elements:
              if element.Type is not 'Windkessel' and element.Name.find('brachial') != -1:
                  PressureBrachial += (self.Solutions[(self.DofMap.DofMap[element.Id, 0]),self.CardiacFreq*(self.Cycles-1):])/133.3223684211
                  i += 1               
          
              if element.Type is not 'Windkessel' and element.Name.find('radial') != -1:
                  PressureRadial += (self.Solutions[(self.DofMap.DofMap[element.Id, 0]),self.CardiacFreq*(self.Cycles-1):])/133.3223684211
                  j += 1
                  
              if element.Type is not 'Windkessel' and element.Name.find('ulnar') != -1:
                  PressureUlnar += (self.Solutions[(self.DofMap.DofMap[element.Id, 0]),self.CardiacFreq*(self.Cycles-1):])/133.3223684211
                  k += 1
          
          if i != 0:
              PressureBrachial = PressureBrachial/i
              plot(self.t, PressureBrachial, 'r-', linewidth = 3, label = 'brachial')   #red line
          if i == 0:
              PressureBrachial = 0
              print "There isn't any element named brachial, check your network xml file"  
          if j != 0:
              PressureRadial = PressureRadial/j
              plot(self.t, PressureRadial, 'b-', linewidth = 3, label = 'radial')   #blue line
          if j == 0:
              PressureRadial = 0
              print "There isn't any element named radial, check your network xml file"
          if k != 0:
              PressureUlnar = PressureUlnar/k
              plot(self.t, PressureUlnar, 'g-', linewidth = 3, label = 'ulnar')   #green line
          if k == 0:
              PressureUlnar = 0
              print "There isn't any element named ulnar, check your network xml file"
          
          xlabel('Time ($s$)')
          ylabel('Pressure ($mmHg$)')
          title ('Brachial, Radial and Ulnar Pressure Signal')    
          legend()
          savefig(self.images+'brach_rad_uln_pressure.png')
          close()
code_tokens: def PlotPressureComparative ( self ) : try : from matplotlib . pyplot import plot , xlabel , ylabel , title , legend , savefig , close except ImportError : MatPlotLibError ( ) PressureBrachial = 0 PressureRadial = 0 PressureUlnar = 0 i = 0 j = 0 k = 0 for element in self . NetworkMesh . Elements : if element . Type is not 'Windkessel' and element . Name . find ( 'brachial' ) != - 1 : PressureBrachial += ( self . Solutions [ ( self . DofMap . DofMap [ element . Id , 0 ] ) , self . CardiacFreq * ( self . Cycles - 1 ) : ] ) / 133.3223684211 i += 1 if element . Type is not 'Windkessel' and element . Name . find ( 'radial' ) != - 1 : PressureRadial += ( self . Solutions [ ( self . DofMap . DofMap [ element . Id , 0 ] ) , self . CardiacFreq * ( self . Cycles - 1 ) : ] ) / 133.3223684211 j += 1 if element . Type is not 'Windkessel' and element . Name . find ( 'ulnar' ) != - 1 : PressureUlnar += ( self . Solutions [ ( self . DofMap . DofMap [ element . Id , 0 ] ) , self . CardiacFreq * ( self . Cycles - 1 ) : ] ) / 133.3223684211 k += 1 if i != 0 : PressureBrachial = PressureBrachial / i plot ( self . t , PressureBrachial , 'r-' , linewidth = 3 , label = 'brachial' ) if i == 0 : PressureBrachial = 0 print "There isn't any element named brachial, check your network xml file" if j != 0 : PressureRadial = PressureRadial / j plot ( self . t , PressureRadial , 'b-' , linewidth = 3 , label = 'radial' ) if j == 0 : PressureRadial = 0 print "There isn't any element named radial, check your network xml file" if k != 0 : PressureUlnar = PressureUlnar / k plot ( self . t , PressureUlnar , 'g-' , linewidth = 3 , label = 'ulnar' ) if k == 0 : PressureUlnar = 0 print "There isn't any element named ulnar, check your network xml file" xlabel ( 'Time ($s$)' ) ylabel ( 'Pressure ($mmHg$)' ) title ( 'Brachial, Radial and Ulnar Pressure Signal' ) legend ( ) savefig ( self . images + 'brach_rad_uln_pressure.png' ) close ( )
short_docstring: This method plots brachial, radial and ulnar pressure signal.
short_docstring_tokens: This method plots brachial radial and ulnar pressure signal .
comment: '''
          This method plots brachial, radial and ulnar pressure signal.
          '''$SEP$#red line$SEP$#blue line$SEP$#green line