original_docstring: 
          This method plots Radial flows, pressure
          and wss (for each segment) in the same figure.
          
docstring: This method plots Radial flows, pressure
  and wss (for each segment) in the same figure.
docstring_tokens: This method plots Radial flows pressure and wss ( for each segment ) in the same figure .
code: def PlotRadial(self):
          '''
          This method plots Radial flows, pressure
          and wss (for each segment) 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 ent, el in self.NetworkMesh.Entities.iteritems():
              if ent.Id is not None and ent.Id.find('radial') != -1:
                  for element in el:
                      dofs = element.GetPoiseuilleDofs()
                      Flow = (self.Solutions[(self.DofMap.DofMap[element.Id, dofs[0]]),self.CardiacFreq*(self.Cycles-1):] - self.Solutions[(self.DofMap.DofMap[element.Id, dofs[1]]),self.CardiacFreq*(self.Cycles-1):])/element.R
                      PressureIN = (self.Solutions[(self.DofMap.DofMap[element.Id, 0]),self.CardiacFreq*(self.Cycles-1):])   
                      WSSPoiseuille = ((4.0*element.eta)/pi) * (Flow/mean(element.Radius)**3)
                      print "Name: ", element.Name, " PressureIN(mmHg): ", mean(PressureIN)/133.3223684211, " MeanFlow(mL/min): ", mean(Flow)*6.0e7,  " MeanWSS(Pa): ", mean(WSSPoiseuille)
                      plot(self.t, Flow*6e7, colourvector[indexcolour],linewidth = 3, label = 'Flow '+element.Name)
                      xlabel('Time ($s$)')
                      ylabel('Flow ($mL/min$)')
                      title ('Radial Flow')    
                      legend()
                      if indexcolour == 6:
                          indexcolour = 0
                      else:
                          indexcolour+=1
                  savefig(self.images+'radial_flow.png')
                  close()
                  indexcolour = 0 
                  
                  for element in el:
                      dofs = element.GetPoiseuilleDofs()
                      PressureIN = (self.Solutions[(self.DofMap.DofMap[element.Id, 0]),self.CardiacFreq*(self.Cycles-1):])/133.3223684211  
                      plot(self.t, PressureIN, colourvector[indexcolour],linewidth = 3, label = 'Pressure '+element.Name)
                      xlabel('Time ($s$)')
                      ylabel('Pressure ($mmHG$)')
                      title ('Radial Pressure')    
                      legend()
                      if indexcolour == 6:
                          indexcolour = 0
                      else:
                          indexcolour+=1
                  savefig(self.images+'radial_pressure.png')
                  close()
                  indexcolour = 0
code_tokens: def PlotRadial ( self ) : 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 ent , el in self . NetworkMesh . Entities . iteritems ( ) : if ent . Id is not None and ent . Id . find ( 'radial' ) != - 1 : for element in el : dofs = element . GetPoiseuilleDofs ( ) Flow = ( self . Solutions [ ( self . DofMap . DofMap [ element . Id , dofs [ 0 ] ] ) , self . CardiacFreq * ( self . Cycles - 1 ) : ] - self . Solutions [ ( self . DofMap . DofMap [ element . Id , dofs [ 1 ] ] ) , self . CardiacFreq * ( self . Cycles - 1 ) : ] ) / element . R PressureIN = ( self . Solutions [ ( self . DofMap . DofMap [ element . Id , 0 ] ) , self . CardiacFreq * ( self . Cycles - 1 ) : ] ) WSSPoiseuille = ( ( 4.0 * element . eta ) / pi ) * ( Flow / mean ( element . Radius ) ** 3 ) print "Name: " , element . Name , " PressureIN(mmHg): " , mean ( PressureIN ) / 133.3223684211 , " MeanFlow(mL/min): " , mean ( Flow ) * 6.0e7 , " MeanWSS(Pa): " , mean ( WSSPoiseuille ) plot ( self . t , Flow * 6e7 , colourvector [ indexcolour ] , linewidth = 3 , label = 'Flow ' + element . Name ) xlabel ( 'Time ($s$)' ) ylabel ( 'Flow ($mL/min$)' ) title ( 'Radial Flow' ) legend ( ) if indexcolour == 6 : indexcolour = 0 else : indexcolour += 1 savefig ( self . images + 'radial_flow.png' ) close ( ) indexcolour = 0 for element in el : dofs = element . GetPoiseuilleDofs ( ) PressureIN = ( self . Solutions [ ( self . DofMap . DofMap [ element . Id , 0 ] ) , self . CardiacFreq * ( self . Cycles - 1 ) : ] ) / 133.3223684211 plot ( self . t , PressureIN , colourvector [ indexcolour ] , linewidth = 3 , label = 'Pressure ' + element . Name ) xlabel ( 'Time ($s$)' ) ylabel ( 'Pressure ($mmHG$)' ) title ( 'Radial Pressure' ) legend ( ) if indexcolour == 6 : indexcolour = 0 else : indexcolour += 1 savefig ( self . images + 'radial_pressure.png' ) close ( ) indexcolour = 0
short_docstring: This method plots Radial flows, pressure
  and wss (for each segment) in the same figure.
short_docstring_tokens: This method plots Radial flows pressure and wss ( for each segment ) in the same figure .
comment: '''
          This method plots Radial flows, pressure
          and wss (for each segment) in the same figure.
          '''