Marker color changes with temperature

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');

Antworten (1)

Steven Lord
Steven Lord am 14 Jun. 2017

0 Stimmen

Use scatter instead of plot.

Gefragt:

am 14 Jun. 2017

Beantwortet:

am 14 Jun. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by