Updates to segment plotting.