How to change the color of a graph only in a particular section?

1 visualizzazione (ultimi 30 giorni)
i have data like;
1 24.71 2 16.28 3 15.247 4 7.7337 5 11.85 6 16.58 7 17.88 8 14.477 9 9.5245 10 17.648 11 19.519 12 13.126 13 9.1243 14 8.324 15 15.337 16 11.886 17 13.626 18 17.718 19 19.189 20 13.586 and i want to plot this data in such a manner that for 1 1o 5 is of different color, 6 to 10 is of different color and so on...

Risposte (1)

Swarooph
Swarooph il 27 Lug 2017
This answer might be useful.

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by