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

MathGroup Archive 2011

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

Search the Archive

Impossible to move objects in dynamic graphics

  • To: mathgroup at smc.vnet.net
  • Subject: [mg122653] Impossible to move objects in dynamic graphics
  • From: nicolas at virtualdynamics.fr
  • Date: Fri, 4 Nov 2011 06:03:09 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Since version 8 it is no more possible to move objects with dynamic
positions in a dynamic graphics.

For example in the graphics below, the text and the point can be
moved :

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

But not in that one which is just wrapped in a Dynamic

Dynamic@Graphics[{Text["TEXT", Dynamic[p]], AbsolutePointSize[10],
  Point[Dynamic[q]]}, PlotRange -> 1]

I expect that to work. Is it a bug ? Or if something has been changed,
how can I now get back to previous (good) behaviour ?

Thanks

Nicolas



  • Prev by Date: Constraint evaluation in NMinimize
  • Next by Date: Re: Footnotes, Endnotes in Mathematica
  • Previous by thread: Re: Constraint evaluation in NMinimize
  • Next by thread: Re: Impossible to move objects in dynamic graphics