2
votes
1answer
76 views

How do I constrain movement for lists of Locators using 2nd argument of Dynamic?

I need to display edge labels of a graph in a way that allows the edge labels to be moved. Locator seems the simplest and most obvious function to use. My ...
1
vote
1answer
89 views

Control multiple locators along a plot

Update 1 @ Michael E2, my effort - for what it is worth!: ...
2
votes
2answers
221 views

Locator to show coordinates of plot

Old I would like to make the locator follow a plot, giving the coordinates as it moves. I don't really know where to start with this one, but I would like the dynamic plot to look something like ...
1
vote
1answer
65 views

Locator with Integer value coordinates [closed]

I want to get the Pixel value of an image.and here is my code ...
2
votes
1answer
118 views

Change the behaviour of a LocatorPane

Normally, LocatorPane detects any single click as in the following example: ...
1
vote
2answers
167 views

Locator following other locator in DynamicModule

I'm trying to create a dynamic environment where I specify, using two locators, the initial condition (position (x,y) and velocity angle (alpha)) of a 2D particle. To simplify, I'm assuming the ...
4
votes
1answer
104 views

Using the mouse coordinates to index a matrix

I would like to "write" on to a matrix using the mouse. That is, I would like to use the integer value of Locator coordinates (p) to index a matrix. Then, if the mouse button is down, write a 1 in ...
5
votes
2answers
246 views

How to dynamically update Locator[] constraints?

I need to visualize Menelaus' theorem for a triangle with moving locators for each of six points. So the vertexes of the triangle can move in any possible way, and the three points on the sides of the ...