double y axis plot for potential and tension