updated plot lines for rainbow, non-overlapping colors.