Clear Filters
Clear Filters

Marker color changes with temperature

1 view (last 30 days)
Michela Longhi
Michela Longhi on 14 Jun 2017
Answered: Steven Lord on 14 Jun 2017
I am plotting the time vs temperature in plot mode, but I want that the markers change the color with the temperature, how can I do? Is it possible? :
figure()
plot(temp, time,'o');

Answers (1)

Steven Lord
Steven Lord on 14 Jun 2017
Use scatter instead of plot.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!