Marker color changes with temperature

5 visualizzazioni (ultimi 30 giorni)
Michela Longhi
Michela Longhi il 14 Giu 2017
Risposto: Steven Lord il 14 Giu 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');

Risposte (1)

Steven Lord
Steven Lord il 14 Giu 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!

Translated by