Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions on position tracking, especially using Mathematica coordinate tracking functions and control objects such as Locator, LocatorPane, and ClickPane.
4
votes
1
answer
235
views
Overlaying location pointer on to a png file
I have then created two locators as demonstrated on the Wolfram tutorials:
length = DynamicModule[{p1 = {0, 0},
p2 = {1, 1}}, {Dynamic@
Graphics[{Arrow[{p1, p2}], Locator[Dynamic[p1]], … Locator[Dynamic[p2]]}, PlotRange -> 1024],
Dynamic[Grid[{{"Length:", EuclideanDistance[p1, p2]}, {"Slope:",
1/Divide @@ (p2 - p1)}}]]}]
I would like to be able to overlay these locators on …