function ode_display ( bVals, kVals, peakVals )

%*****************************************************************************80
%
%% ode_display() displays the results of the sweep.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    21 March 2011
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real bVals(M), kVals(N), the values of B and K for which
%    the ODE was solved.
%
%    real peakVals(M,N), the maximum value of the ODE solution for
%    a given pair of K and B values.
%    
  figure ( 1 );

  surf ( bVals, kVals, peakVals, 'EdgeColor', 'Interp', 'FaceColor', 'Interp' );

  title ( 'Results of ODE Parameter Sweep' )

  grid ( 'on' );
  xlabel ( 'Damping B' );
  ylabel ( 'Stiffness K' );
  zlabel ( 'Peak Displacement' );

  view ( 50, 30 )

  filename = 'ode_sweep_parfor.png';
  print ( '-dpng', filename );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Graphics saved as "%s".\n', filename );

  return
end
