How can I plot each graph that is more than 100 with different colors from the begining to the end in series? For example, there is 100 lines every 1 sec , I would like to change the color from 1sec to 100sec in series like rainbow color , gradually change from 1 sec to 100sec. we can set plot (x,y,'g')with few graphs , but I do not know how to set more than 100 lines in series easily. When I set plot(x,y) and there is more than 100 lines, it repeat same color at some interval since thre is not so much color selection, I would like to set more than 100 lines with different colors in series.
MATLAB: Each graph more than 100 with different colors from the beginning to the end in series
graph
Best Answer