MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Constraining a Location to Move Along a Plot in a Manipulate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127771] Constraining a Location to Move Along a Plot in a Manipulate
  • From: Gregory Lypny <gregory.lypny at videotron.ca>
  • Date: Mon, 20 Aug 2012 21:30:43 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

Hello everyone,

Awhile back, participants on this forum kindly showed me how to constrain a locator to move along a curve by using DynamicModule[...], an example of which is in the Help Centre.  But I can't figure out how to pull this off in a Manipulate,where I'm guessing that the locator would be a control.  Say I have a simple Manipulate that plots a line, y = mx + b, where m is control for changing the slope.  I would also like to have a locator that users can slide up and down the line in lieu of a slider control that draws a point on the line.

Regards,

Gregory



  • Prev by Date: Re: V8 slow like a snail
  • Next by Date: Re: Thread::tdlen: Objects of unequal length in
  • Previous by thread: Re: Problem with NIntegrate
  • Next by thread: Re: Constraining a Location to Move Along a Plot in a Manipulate