I want to plot 2 variables and each row of the 2 variables to be presented with different color. So I wrote the following code which plot through loop:
However, I have problem with the legend. At legend it is presented only the color of the last row of data and the text respectively. This is the code for the lgend which it is supposed that produced through loop also.
How I should reform it to present all the data and the texts?
Thank you in advnace