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

답변 (1개)

Steven Lord
Steven Lord 2017년 6월 14일

0 개 추천

Use scatter instead of plot.

카테고리

도움말 센터File Exchange에서 Scatter Plots에 대해 자세히 알아보기

질문:

2017년 6월 14일

답변:

2017년 6월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by