I want to create an animated plot of a timeserie but I want to be able to color every data point differently. While I am running various analysis tasks on the timeserie data I want to color each data point according to the region that it belongs too.
I followed this example to get an understanding of how animated plotting works and I also found that answer that showcases how color can be incorporated. The problem is that in that approach the whole graph is re-plotted in every iteration, thus changing the color of the whole graph and not the newly plotted data point only.
Can someone show me how the decay example can be altered to assign different color to each data point?