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

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...

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 27 de Jul. de 2017

Respondida:

el 27 de Jul. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by