MathGroup Archive 2007

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

Search the Archive

Re: Locator in Manipulate's graphic.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg82176] Re: Locator in Manipulate's graphic.
  • From: "David Park" <djmpark at comcast.net>
  • Date: Sun, 14 Oct 2007 06:06:46 -0400 (EDT)
  • References: <feptqm$h6g$1@smc.vnet.net>

Manipulate[
 Graphics[Line[{{0, 0}, p}], PlotRange -> 2], {{p, {1, 1}}, Locator,
  Appearance -> Graphics[Circle[], ImageSize -> 20]}]

-- 
David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/


"W. Craig Carter" <ccarter at mit.edu> wrote in message 
news:feptqm$h6g$1 at smc.vnet.net...
>
> 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
>
> 



  • Prev by Date: Re: Locator in Manipulate's graphic.
  • Next by Date: Re: Strange behaviour of Do in Compile
  • Previous by thread: Re: Locator in Manipulate's graphic.
  • Next by thread: Re: Locator in Manipulate's graphic.