MathGroup Archive 2007

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

Search the Archive

Re: forming continuous "trail" with Locator

  • To: mathgroup at smc.vnet.net
  • Subject: [mg79856] Re: forming continuous "trail" with Locator
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Tue, 7 Aug 2007 01:27:13 -0400 (EDT)
  • References: <f96jsd$qh3$1@smc.vnet.net>

Murray Eisenberg wrote:
> Is there some way in Mathematica 6 to use a Locator so as to create a 
> continuous-appearing "trail" after you click and then drag the cursor 
> around?
> 
> Of course one could write code allowing addition of points through 
> successive clicks, and then one could try to click repeatedly on 
> successive points very near one another, but that could get very tedious.
> 
> I mean the sort of thing one gets in drawing programs (and with the 
> Mathematica 6 2D Drawing Tools).
> 
> 
Don't forget that you can pick up mouse movements (not just clicks) with 
MousePosition - perhaps inside a Refresh. That should give you the 
information to construct a tail. If you held them in a list and dropped 
stale coordinates, you could even arrange to plot them as a fading 
trail, if that was what you wanted.

David Bailey
http://www.dbaileyconsultancy.co.uk


  • Prev by Date: Re: Changing "point" styles in 3D plots
  • Next by Date: Re: Integro-differential analog of Love's equation via power
  • Previous by thread: forming continuous "trail" with Locator
  • Next by thread: Re: forming continuous "trail" with Locator