Question About Plotting One Function With Different Colors

Question About Plotting One Function With Different Colors