1

To generate a plot of multiple functions, I currently use this syntax:

Plot[{Sin[x], Sin[2 x], Sin[3 x]}, {x, 0, 2 Pi}, 
 PlotLegends -> "Expressions"]

This generates a plot of 3 functions as shown below. enter image description here

I would like to fund out if there is a way to instead loop through values of i = 1, 2 and 3 plotting the function y = Sin(ix) to come up with the same result.

user32882
  • 227
  • 2
  • 6

0 Answers0