Make an Interactive Plot
Manipulate can be used to make plots interactive. This is an interactive plot of two signals of different frequencies added together.
Here, f is the frequency and θ is the phase shift of the second signal. In the interactive application, you will be able to adjust the value of f from 10 to 20 and the value of θ from 0 to
. The initial color is blue:
Manipulate[Plot[Sin[10x] + Sin[f x + θ], {x, 0, 2π}, PlotStyle -> color], {f, 10, 20}, {θ, 0, π}, {color, Blue}]