I have plotted a sine function where the period is varied. I have included my code below.
tab = Table[Sin[a x], {a, 1, 2, 0.25}]; Plot[tab , {x, 0, 2 \[Pi]}, Frame -> True] To help identify which curve corresponds to which value of a, I thought to create a colorbar that runs from 1 to 2 (the color of the curves would need to change). Is this possible using Plot? This is the best way that I can think of to help identify each curve, especially if the number of curves is increased.






