Hi everyone,

It's my first week learning to use Qt and Qwt, so please bear with me. I'd like to make a plotting function with cursor similar to that of the BodePlot with:

(1) a curve,
(2) cursor display with the values being shown,
(3) restrict the cursor's movements to slide along the values of the curve only when within the plot, i.e. given mouse position x, fixing mouse position y.

I've taken apart the code in the Bode example and kept only a few elements which satisfy points (1) and (2) but would appreciate some suggestions, hints or pseudocode for doing (3)!

Thanks very much!