Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

consider this example:

LocatorPane[Dynamic[pt],
 Plot[Sin[x], {x, 0, 10}, 
  Epilog -> {PointSize[Large], Point[Dynamic[pt]]}, 
  PlotLabel -> Dynamic@pt], Appearance -> None]

I am trying to add Tooltip to the pt but without any success. the only thing I got is using Tooltip with the point like this: Tooltip@Point[Dynamic[pt]] but this will show the word Point also. any solution to use Tooltip with the point pt

thanks

share|improve this question

1 Answer 1

Does this do what you desire?:

LocatorPane[Dynamic[pt], 
 Plot[Sin[x], {x, 0, 10}, Epilog -> {PointSize[Large], Dynamic @ Tooltip[Point[pt], pt]}, 
  PlotLabel -> Dynamic@pt], Appearance -> None]
share|improve this answer
    
Yap, than you :) –  Algohi Aug 15 at 2:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.