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

MathGroup Archive 2011

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

Search the Archive

Re: Impossible to move objects in dynamic graphics

  • To: mathgroup at smc.vnet.net
  • Subject: [mg122664] Re: Impossible to move objects in dynamic graphics
  • From: Silvia <wyelen at gmail.com>
  • Date: Sat, 5 Nov 2011 04:46:22 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <j90hav$so3$1@smc.vnet.net>
  • Reply-to: comp.soft-sys.math.mathematica at googlegroups.com

maybe you wrap them in Locators:

p = {-.5, 0}; q = {.5, 0};
{Dynamic[p], Dynamic[q]}
Graphics[{
  Locator[Dynamic[p], "TEXT"], 
  Locator[Dynamic[q], 
   Graphics[{AbsolutePointSize[10], Point[Dynamic[q]]}]]}, 
 PlotRange -> 1]



  • Prev by Date: Re: Exit a loop
  • Next by Date: Re: {Keydown,"c"} event in graphics
  • Previous by thread: Re: Impossible to move objects in dynamic graphics
  • Next by thread: Re: Impossible to move objects in dynamic graphics