It is possible to run a script when you put a courson on a graph?
1 view (last 30 days)
Let's suppose that I have the graph from The figure 1 which represent the ratio of the sum of 5 paires of vectors.
I want the following thing to happen. When I put a coursor on one of the spikes, I want to automatically run a script and plot the two vectores that i considered for the ratio, as in Figure2.
It is possible this thing or is too futuristic?
Thanks a lot!
Jan on 8 Jun 2022
Of course this works. It depends on what exactly "put a coursor" means. Moving the mouse over the obejct? Clicking on the line? Set a label?
All three possibilities can trigger a callback function. Please explain, what you exactly need.
I recommend not to run a script, but a function.