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

3 views (last 30 days)
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...

Answers (1)

Swarooph
Swarooph on 27 Jul 2017
This answer might be useful.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!