Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4209 > unrolled thread

Re: Can a Locator be Made to Track a Curve?

Started byGregory Lypny <gregory.lypny@videotron.ca>
First post2011-08-07 10:22 +0000
Last post2011-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.


Contents

  Re: Can a Locator be Made to Track a Curve? Gregory Lypny <gregory.lypny@videotron.ca> - 2011-08-07 10:22 +0000

#4209 — Re: Can a Locator be Made to Track a Curve?

FromGregory Lypny <gregory.lypny@videotron.ca>
Date2011-08-07 10:22 +0000
SubjectRe: 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

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web