So I have a simple array, size 100.
I want to create a function that will plot a straight line into it, like this (this was hand drawn for the purpose of demo):
The important thing is that whatever function that will draw this line will have a variable (controlled by a slider) that defines the slope of this line, as illustrated below:
My obvious first choice would have been the [line] object, but it seems you can only use it for time domain functions, and in my case I want the lines to be drawn "instantaneously" (so far as possible) . Any suggestion?