Re: Locator in Manipulate's graphic.
- To: mathgroup at smc.vnet.net
- Subject: [mg82202] Re: [mg82142] Locator in Manipulate's graphic.
- From: DrMajorBob <drmajorbob at bigfoot.com>
- Date: Sun, 14 Oct 2007 06:20:10 -0400 (EDT)
- References: <12019005.1192263838491.JavaMail.root@m35>
- Reply-to: drmajorbob at bigfoot.com
> Manipulate[ > Line[{{0, 0}, p}], PlotRange -> 2], {{p, {1, 1}}, > (Locator[#,Appearance->Graphics[Circle[#,2]])&}] That has a lot of unmatched brackets, which in general makes it rather hard to unravel what your problem might be. I had already noticed, though, that locators have no options or syntax, to speak of, when used as Manipulator variables. In help it says {u, Locator}, and that's apparently IT, despite the live link from "Locator" to the more feature-rich Locator used elsewhere. I can find no examples where Locator is used the way you want to use it. (Unfortunately.) Bobby On Sat, 13 Oct 2007 02:50:22 -0500, W. Craig Carter <ccarter at mit.edu> wrote: > > Can anyone see a way to change the Locator's appearance in > Manipulate. > > i.e., from the documentation: > > Manipulate[ > Graphics[Line[{{0, 0}, p}], PlotRange -> 2], {{p, {1, 1}}, > Locator}] > > I've tried the "obvious generalization": > > Manipulate[ > Line[{{0, 0}, p}], PlotRange -> 2], {{p, {1, 1}}, > (Locator[#,Appearance->Graphics[Circle[#,2]])&}] > > without success. Any ideas? > > > W. Craig Carter > > > -- DrMajorBob at bigfoot.com