Question: Help for plotting

 

 

Hello,

I need help to plot a sequence of functions '' S ''  in a sequence of times '' T '' between 2 colors.

Example

                  plot( S[1]  , t = T[1]..T[2] , color = red )   

                  plot( S[2]  , t = T[2]..T[3] , color = black ) 

                  plot( S[3]  , t = T[3]..T[4] , color = red )    
           

                  etc....

                 plot( S[n-1]  , t = T[n-1]..T[n] , color = red )   

                 plot( S[n]  , t = T[n]..T[n+1] , color = black)   

I already write this code but it does not work

 

 

Please Wait...