Adding 1D curve plot legends.