I'm working on a small function which can be used so that when the user hovers over certain coordinates in a LocatorPane, these coordinates can be checked against a separate list of coordinates, and there can be different graphical outputs on a separate graphic, depending on what coordinates the user has hovered over.
ttp = LocatorPane[Dynamic[userEditedProbeCoordinates], tmp,
Appearance -> (probeDissFunc[WorstcaseDistressWTT16, probeList])]
coordinates = Dynamic[MousePosition["Graphics"]]
This get's me the coordinates from the user.
If[coordinates - 893, 368 < {\[PlusMinus]10, \[PlusMinus]10}, yay, boo]
If[coordinates == 893, 368, hooray, stop]
If[coordinates \[Subset] userEditedProbeCoordinates, woop, nooooo]
Here are 3 of my attempts to make something happen. None of them were successful.
The list of coordinates looks like this:
{{893, 368}, {863, 327}, {885, 512}, {800, 502}, {766, 360}, {710,
374}}
Thanks in advance





PlusMinushas no built in meaning. – Kuba Jun 14 '16 at 11:49