ax1.plot(profile['x'][0:2], profile['z'][0:2], 'k--', label='extended path')