Identify one appropriate cartographic technique to represent the continuous change in elevation and slope profile along a straight-line transect connecting the summit of Beacon Hill (grid reference SO 123 456) and the bottom of Hope Valley (grid reference SO 145 478).