Plot 2D surface with color

3 views (last 30 days)
Meryeme BOUMAHDI on 6 Jul 2017
Answered: KSSV on 6 Jul 2017
Hello I have data like 0 5 0.5 1 6 0.1 9 0.5 0.29 .... with first column present x coordinate the second is y coordinate and the last is concentration. I would like to plot each point (x,y) with color depending on the concentration Like this example Thank you

Answers (1)

KSSV on 6 Jul 2017
doc griddata. You can achieve what you want with griddata.


Community Treasure Hunt

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

Start Hunting!

Translated by