Building a interactive graph with a slider that automatically updates displayed curve
I want to build a little self-updating graph where I plot a curve with data points y against scale x. Also included is a slider with a numerical factor, let's call it a. I now want to build a graph where I can drag the slider and it multiplies y with the selected a. The plot x vs y is now updated with the new scaled y. So I can interactively drag around my slider and the curve scales with it. What...