Re: Locator in Manipulate's graphic.
- To: mathgroup at smc.vnet.net
- Subject: [mg82184] Re: Locator in Manipulate's graphic.
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Sun, 14 Oct 2007 06:10:54 -0400 (EDT)
- References: <feptqm$h6g$1@smc.vnet.net>
Hi,
Manipulate[
Graphics[Line[{{0, 0}, p}], PlotRange -> 2], {{p, {1, 1}}, Locator,
Appearance -> (Graphics[Circle[{0, 0}, 0.1], PlotRange -> 2])}]
work fine.
Regards
Jens
W. Craig Carter 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
>
>