In matlab, the plot feature connects points with a line. My data In matlab, the plot feature connects points with a line. My data consists of three parts: Decreasing slopes, increasing slopes, and zero slopes. I want to plot each with a different color, but only have lines for each part. For example, for the decreasing slopes, it should be highlighted one color with a linear line, but not showing an increasing slope when jumping to the next decreasing portion of the graph. Engineering & Technology Computer Science