function spring_peak_display ( bVals, kVals, peakVals )

%*****************************************************************************80
%
%% spring_peak_display() displays solution peaks for spring_ode().
%
%  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 ( );
  surf ( bVals, kVals, peakVals, 'edgecolor', 'interp', 'facecolor', 'interp' );
  title ( 'spring ODE peak values' );
  xlabel ( 'Damping B' );
  ylabel ( 'Stiffness K' );
  zlabel ( 'Peak Displacement' );
  view ( 50, 30 );
  filename = 'spring_sweep_ode.png';
  print ( '-dpng', filename );
  fprintf ( 1, '  Graphics saved as "%s".\n', filename );

  return
end
