Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

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: [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
> 
> 


  • Prev by Date: Background Color for a Panel
  • Next by Date: Re: Locator in Manipulate's graphic.
  • Previous by thread: Re: Locator in Manipulate's graphic.
  • Next by thread: Re: Locator in Manipulate's graphic.