Mouse event evaluation

Hi everyone

I have two functions A=A(x) and B=B(j, k, l). First of all, I generate a plot for function A {A(x) vs x}. Secondly, I click in some point of canvas of function A and I evaluate the function B in this point for generating a plot for function B {B(x-cursor_position, y-cursor_position, l) vs l} in a new canvas, I mean, every time I click in any point of the canvas of function A, I need to evaluate the function B in this point and to obtain a new canvas with the plot for function B.

Would help me with this?

Best