%% bumpy_plot plots the bumpy function.
%
a = 0.0;
b = 7.0;
x = linspace ( a, b, 501 );
y = bumpy ( x );

clf ( );
hold ( 'on' );
plot ( x, y, 'linewidth', 3 );
plot ( [a,b], [0,0], 'k-', 'linewidth', 3 );
hold ( 'off' );

grid ( 'on' );
xlabel ( '<-- x -->' );
ylabel ( '<-- bumpy(x) -->' );
title ( 'bumpy function' );

print ( '-dpng', 'bumpy.png' );
