The tag has no wiki summary.

learn more… | top users | synonyms

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 ...
4
votes
2answers
93 views

Clicking to add/remove a Locator

I would like to add a Locator to a figure displayed by Manipulate when I click inside the figure, at the location where I click, ...
1
vote
0answers
53 views

How do I keep a random value associated with a locator point as points are added?

I have a Manipulate to which I am adding and removing Locator points (one of which is different from the others, though that is ...
5
votes
1answer
100 views

Different actions with dragging and clicking points in same graphic

On a graphic (in this example a simple plot), I need two points to move when I drag with the mouse, and these points must move to location {1,1} when I click on them. This is how I got it to work, ...
2
votes
1answer
63 views

Change locator object appearance inside Manipulate

I have read earlier discussions of changing Locator appearance in Manipulate. I would like to change the rendered size of the locator object based on one of the manipulate variables. I can't get ...
4
votes
4answers
192 views

Using Locators in a non-standard Manipulate code

I'm trying to adapt Nasser's method for using a control variable inside Manipulate to selectively choose what part of the code should be recalculated depending on the controls changed (see this ...
3
votes
2answers
44 views

Avoiding RandomVariate update with use of Locator

I am preparing an activity that simulates the response from a noisy spectrometer. The function I use to generate the data has the form: ...
1
vote
1answer
114 views

Using Manipulate with a control variable for selective recalculation

I'm trying to adapt Nasser's method for using a control variable inside Manipulate to selectively choose what part of the code should be recalculated depending on the controls changed. I've also read ...
0
votes
1answer
55 views

Hide output from when mouseover Locator graphic

When the mouse pointer passes over the Locator graphic (or one clicks at any point in the frame), the underlying equation that generates the ContourPlot is visible ...
2
votes
1answer
74 views

Manipulating horizontal and vertical 'guidelines'

Is it possible to create an interactive plot that has drag-down / across horizontal & vertical guides a la Illustrator / InDesign? I would like to generate something like this: I would ideally ...
3
votes
3answers
194 views

Draw plot with locator & slider

I would like to create a plot whereby both the slider and the locator 'draw' the plot. In the following code, the locator & the slider act independently: ...
1
vote
1answer
89 views

Control multiple locators along a plot

Update 1 @ Michael E2, my effort - for what it is worth!: ...
1
vote
1answer
95 views

Two-way locator & slider controls

I was wondering whether it was possible to have a two way control system, whereby one could click and drag both the locator (which would in turn move the sliders), AND click & drag the sliders ...
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 ...
5
votes
2answers
106 views

Using absolute locator coordinates in Manipulate

In this simplified code below, I'd like to display two plots within Manipulate, and use the Locator controltype to set the value ...
2
votes
2answers
58 views

Constrain movement of Locator (increased t-value)

Continuing with the code at the end this topic, I am now searching for a way of constraining the movement of the locator so that it doesn't "jump" from one "part" of the graph of f to another. So, if ...
2
votes
1answer
67 views

Constrain movement of Locator

Continuing the discussion started in the thread here, I've tried to recreate the code from scratch. I thus looked to constrain the movement of a locator to the graph defined by ...
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 ...
0
votes
0answers
268 views

Generating x,y coordinates for an edge detection

I'd like to be able to process a number of graphics that have edge contours and output a list of x,y coordinates to be used for generating a spline in another program, or in Mathematica, to make a ...
3
votes
2answers
97 views

Moving a locator based on the movement of another

My problem is: I want two Locators to simulate a vector in the following sense: The first Locator is the base and the second ...
3
votes
2answers
258 views

How do I use Mathematica as a vector drawing program?

Recently I changed my furniture in my room and I am trying to find the best position of each part. I am sure that Mathematica could help! I read the LocatorPane, selecting multiple Locators for ...
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 ...
2
votes
1answer
118 views

Change the behaviour of a LocatorPane

Normally, LocatorPane detects any single click as in the following example: ...
4
votes
1answer
115 views

Overlaying location pointer on to a png file

So I have started off with importing a png image of size $512\times 1024$ px. I have then created two locators as demonstrated on the Wolfram tutorials: ...
1
vote
2answers
218 views

Constrain movement of a locator inside Manipulate

Once again a big thank you for the great help in my earlier post: Plotting function with Dynamic parameter. It totally worked out. I now have a new coding problem ...
1
vote
1answer
124 views

Behaviour of Locator

I seek advice regarding the constrained behaviour of the Locator: appears confined to square {0,0}->{1,1}. When I change starting position it snaps to this constrained region. The code I am referring ...
3
votes
1answer
274 views

How do I draw a credible velocity vs. time graph using Locators?

This is partly a math question, partly a Mathematica question. For educational purposes, I'm making a simple demonstration to create a velocity over time graph from six locators. On the basis of ...
2
votes
2answers
115 views

Manipulating several values from the same interval

Some of my calculations depend on the choice of several values from the interval [-2, 2] (it is more or less interpolation of a fixed function using the points as parameters). I want to create a ...
0
votes
1answer
57 views

Item Resizing when using Locators

I am having some difficulty in resizing a Stream Plot when using locators: Whenever I try to resize the Stream Plot, one of the locators instead moves to the cursor. ...
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 ...
7
votes
1answer
140 views

Locator Appearance

I am using LocatorPane with LocatorAutoCreate -> True. I would like to have the appearance of each new locator be different. ...
4
votes
3answers
440 views

How to align dynamic graphics and an image within an Overlay?

I have dynamic graphics over an image but they won't line up, what am I doing wrong? ...