added plot command to segmented section.