original_docstring: 
          This method plots pressures for a couple of meshes
          
docstring: This method plots pressures for a couple of meshes
docstring_tokens: This method plots pressures for a couple of meshes
code: def PlotPressureTwo(self, meshid, meshid2):
          '''
          This method plots pressures for a couple of meshes
          '''
          try:
              from matplotlib.pyplot import plot, xlabel, ylabel, title, legend, savefig, close
          except ImportError:
              MatPlotLibError()
          meshid = str(meshid)
          for element in self.NetworkMesh.Elements:
              if element.Id == meshid:
                  Pressure = (self.Solutions[(self.DofMap.DofMap[meshid, 0]),self.CardiacFreq*(self.Cycles-1):])/133.3223684211
                  print element.Name
          
          meshid2 = str(meshid2)
          for element in self.NetworkMesh.Elements:
              if element.Id == meshid2:
                  Pressure2 = (self.Solutions[(self.DofMap.DofMap[meshid2, 0]),self.CardiacFreq*(self.Cycles-1):])/133.3223684211
                  print element.Name
          
          plot(self.t, Pressure, 'b-', linewidth = 3, label = 'Pressure Signal')   #blue line
          plot(self.t, Pressure2, 'r-', linewidth = 3, label = 'Pressure Signal')   #red line
          xlabel('Time ($s$)')
          ylabel('Pressure ($mmHg$)') 
          title ('Pressure')    
          legend()
          savefig(self.images + meshid + meshid2 +'_pressure.png')
          close()
code_tokens: def PlotPressureTwo ( self , meshid , meshid2 ) : try : from matplotlib . pyplot import plot , xlabel , ylabel , title , legend , savefig , close except ImportError : MatPlotLibError ( ) meshid = str ( meshid ) for element in self . NetworkMesh . Elements : if element . Id == meshid : Pressure = ( self . Solutions [ ( self . DofMap . DofMap [ meshid , 0 ] ) , self . CardiacFreq * ( self . Cycles - 1 ) : ] ) / 133.3223684211 print element . Name meshid2 = str ( meshid2 ) for element in self . NetworkMesh . Elements : if element . Id == meshid2 : Pressure2 = ( self . Solutions [ ( self . DofMap . DofMap [ meshid2 , 0 ] ) , self . CardiacFreq * ( self . Cycles - 1 ) : ] ) / 133.3223684211 print element . Name plot ( self . t , Pressure , 'b-' , linewidth = 3 , label = 'Pressure Signal' ) plot ( self . t , Pressure2 , 'r-' , linewidth = 3 , label = 'Pressure Signal' ) xlabel ( 'Time ($s$)' ) ylabel ( 'Pressure ($mmHg$)' ) title ( 'Pressure' ) legend ( ) savefig ( self . images + meshid + meshid2 + '_pressure.png' ) close ( )
short_docstring: This method plots pressures for a couple of meshes
short_docstring_tokens: This method plots pressures for a couple of meshes
comment: '''
          This method plots pressures for a couple of meshes
          '''$SEP$#blue line$SEP$#red line