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