hello all, I use two for- loop to do my exercises, but when I run, It is only display a legend and it's the wrong way. In my code, if I use the legend ('show'), It will display 6 lines in the legend in black and red, but I only wold like to display two lines for two for – loops, corresponding, one line for for-loop above(in code) and one line of legend for for-loop at bottom (for-loop in code) with the color like in my code. So how can i do. So, how do I edit the code? I attach the picture that i would to do legend the same it ( in my code, It show the same 6 line, but I don't kown how to make the legend like it)
Please help! Code in attach file
Best Answer