Borrar filtros
Borrar filtros

Marker color changes with temperature

1 visualización (últimos 30 días)
Michela Longhi
Michela Longhi el 14 de Jun. de 2017
Respondida: Steven Lord el 14 de Jun. de 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');

Respuestas (1)

Steven Lord
Steven Lord el 14 de Jun. de 2017
Use scatter instead of plot.

Categorías

Más información sobre Scatter Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by