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

1 view (last 30 days)
AKHILESH KUMAR
AKHILESH KUMAR on 27 Jul 2017
Answered: Swarooph on 27 Jul 2017
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.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by