create.segplot function

Make a segplot