Calculate and plot time history of beam length.