Question: plot a sequence of functions between 2 colors

 

 

Hello,

My question is  how to plot a sequence of curves in two different colors. Note that '' n '' is not fix. I need to plot in the same graph all curves.

Example:   curve[1]  --->  red
                   curve[2] ----> black
                   curve[3]-----> red
                   curve[4]----> black

                  etc....

                  curve[n-1]--> red
                  curve[n]----->black

Thanks for you help !

Please Wait...