New answers tagged

1

I thought I did something like the following before, but maybe it was not for this site: DynamicModule[{y0}, EventHandler[ Plot[Tooltip[Sin[x], Dynamic[y0]], {x, 0, 2 Pi}], "MouseMoved" :> (y0 = Sin@First@MousePosition["Graphics"]), ]]


1

Potential way to achieve this: pl = Plot[Sin[x], {x, 0, 10}]; vals = Table[Tooltip[{x, Sin[x]}, Sin[x]], {x, 0, 10, .05}]; lp = ListPlot[vals, PlotStyle -> None]; Show[{pl, lp}]



Top 50 recent answers are included