old_contents: #!/usr/bin/env python
  # Makes a standard set of plots from Dakota output.
  # Mark Piper (mark.piper@colorado.edu)
  
  # Note that these imports are from the installed version of dakota_utils.
  from dakota_utils.read import read_tabular
  from dakota_utils.plot import plot_samples, plot_irregular_surface
  
  tab_file = 'dakota-hydrotrend-2.dat'
  tab_data = read_tabular(tab_file)
  
  plot_surface(tab_data, response_index=-2, \
               title='HydroTrend: Mean Qs(T,P)', \
               outfile='dakota-hydrotrend-ps-2-Qs_mean-5x5.png')
  
  plot_surface(tab_data, response_index=-1, \
               title='HydroTrend: Stdev Qs(T,P)', \
               outfile='dakota-hydrotrend-ps-2-Qs_stdev-5x5.png')
  
new_contents: #!/usr/bin/env python
  # Makes a standard set of plots from Dakota output.
  # Mark Piper (mark.piper@colorado.edu)
  
  # Note that these imports are from the installed version of dakota_utils.
  from dakota_utils.read import read_tabular
  from dakota_utils.plot import plot_samples, plot_surface
  
  tab_file = 'dakota-hydrotrend-2.dat'
  tab_data = read_tabular(tab_file)
  
  plot_surface(tab_data, response_index=-2, \
               title='HydroTrend: Mean Qs(T,P)', \
               outfile='dakota-hydrotrend-ps-2-Qs_mean-5x5.png')
  
  plot_surface(tab_data, response_index=-1, \
               title='HydroTrend: Stdev Qs(T,P)', \
               outfile='dakota-hydrotrend-ps-2-Qs_stdev-5x5.png')
  
subject: Fix incorrect import