Using Conditional Statements to Change the Color of Data Points
问题 I have a data set, which I have used to make a scatter plot and I would like to assign three different colors to the data points within three different regions, based on their x values. Data points with x-values < 3 I want to appear red Data points with x-values (3,1549) I want to appear black Data points with x values >1549 I want to appear purple Here is my code for the scatterplot and accomplishing the first two parameters, how might I implement the third parameter, so that the last region