Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Locator Appearance mystery in LocatorPane

  • To: mathgroup at
  • Subject: [mg79984] Locator Appearance mystery in LocatorPane
  • From: Murray Eisenberg <murray at>
  • Date: Fri, 10 Aug 2007 01:45:30 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • Reply-to: murray at

Here's a LocatorPane inside a DynamicModule with a Locator initialized 
at the origin and where additional Locator points will be created at 
mouse clicks:


   DynamicModule[{pts = {{0, 0}}},
       Graphics[Point /@ pts],
       Appearance -> dot,
       LocatorAutoCreate -> All]

This works as expected. (The setting Automatic for Appearance is the 

Now change the definition of dot to:


Still OK.  But, finally, change the defintion of dot to:


Now it does NOT work as expected: Although the initialized points do 
appear correctly, and a new dot appears at the first click in the 
output, upon each additional click a new dot does not appear but, 
instead, that one new dot moves to the location of the click.

Diagnosis?  Cure?

Murray Eisenberg                     murray at
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

  • Prev by Date: Re: Integrate with PrincipalValue->True
  • Next by Date: Why no option SaveDefinitions in DynamicModule?
  • Previous by thread: something (not) funny!
  • Next by thread: Re: Locator Appearance mystery in LocatorPane