Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4209 > unrolled thread
| Started by | Gregory Lypny <gregory.lypny@videotron.ca> |
|---|---|
| First post | 2011-08-07 10:22 +0000 |
| Last post | 2011-08-07 10:22 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Can a Locator be Made to Track a Curve? Gregory Lypny <gregory.lypny@videotron.ca> - 2011-08-07 10:22 +0000
| From | Gregory Lypny <gregory.lypny@videotron.ca> |
|---|---|
| Date | 2011-08-07 10:22 +0000 |
| Subject | Re: Can a Locator be Made to Track a Curve? |
| Message-ID | <j1lp0a$noo$1@smc.vnet.net> |
Good stuff. Thank you, Heike.
Gregory
On Sat, Aug 6, 2011, at 6:56 AM, Heike Gramberg wrote:
> You could do something like
>
> f[x_] := Sin[x];
> pt = {0, 0};
> LocatorPane[Dynamic[pt, (pt[[1]] = #[[1]]; pt[[2]] = f[#[[1]]]) &],
> Plot[Sin[x], {x, 0, 2 Pi}]]
>
> Heike
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web