Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: locator snap

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88268] Re: locator snap
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 30 Apr 2008 04:24:16 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <fv6ukg$rmt$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

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