Change colour of plot when colouring according to a variable
Show older comments
I have some air quality data from a room and an activity log which tells me if anybody was in it.
I have created a plot showing the change in pollution concentration over time and I have coloured the plot according to activity (1 = activity; 0 = no activity).
However, when there is no activity, the plot is yellow - which is hard to see. How do I change this? I have used the following code:
scatter(Table.Date_Time, Table.Concentration, 5, Table.Activity)
Accepted Answer
More Answers (0)
Categories
Find more on Scatter Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!