parameters: (self)
docstring: writes a tecplot file for plotting design results
docstring_summary: writes a tecplot file for plotting design results
docstring_tokens: writes a tecplot file for plotting design results
function: def plot_results(self):
          """ writes a tecplot file for plotting design results
          """
          output_format = self.config.TABULAR_FORMAT
          functions     = self.results.FUNCTIONS
          history       = self.results.HISTORY
          
          results_plot = su2util.ordered_bunch()
          results_plot.EVALUATION = range(1,len(self.designs)+1)
          results_plot.update(functions)
          results_plot.update(history.get('DIRECT',{}))
          
          if (output_format == 'CSV'):
            su2util.write_plot('history_project.csv',output_format,results_plot)
          else:
            su2util.write_plot('history_project.dat',output_format,results_plot)
function_tokens: def plot_results ( self ) : output_format = self . config . TABULAR_FORMAT functions = self . results . FUNCTIONS history = self . results . HISTORY results_plot = su2util . ordered_bunch ( ) results_plot . EVALUATION = range ( 1 , len ( self . designs ) + 1 ) results_plot . update ( functions ) results_plot . update ( history . get ( 'DIRECT' , { } ) ) if ( output_format == 'CSV' ) : su2util . write_plot ( 'history_project.csv' , output_format , results_plot ) else : su2util . write_plot ( 'history_project.dat' , output_format , results_plot )