Added a legend to the acceleration plots