MathGroup Archive 2008

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

Search the Archive

Re: locator snap


Hi,

Manipulate[p = Round[10*p]/10.;
  Column@{Graphics[{}, Axes -> True], p}, {{p, {0, 0}}, Locator}]

??

Regards
   Jens

Maarten van der Burgt wrote:
> Dear all,
> 
> In the example below the locator can be moved to any position in the graphic.
> Can the locator be made to snap to multiples of say 0.1?
> 
>  Manipulate[Column@{Graphics[{}, Axes -> True], p}, {{p, {0, 0}}, Locator}]
> 
> Thanks for your help.
> 
> Maarten
> 
> 


  • Prev by Date: Re: How to open a Package
  • Next by Date: Re: locator snap
  • Previous by thread: locator snap
  • Next by thread: Re: locator snap