Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6186 > unrolled thread
| Started by | nicolas@virtualdynamics.fr |
|---|---|
| First post | 2011-11-04 11:12 +0000 |
| Last post | 2011-11-05 09:48 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Impossible to move objects in dynamic graphics nicolas@virtualdynamics.fr - 2011-11-04 11:12 +0000
Re: Impossible to move objects in dynamic graphics Silvia <wyelen@gmail.com> - 2011-11-05 09:48 +0000
| From | nicolas@virtualdynamics.fr |
|---|---|
| Date | 2011-11-04 11:12 +0000 |
| Subject | Impossible to move objects in dynamic graphics |
| Message-ID | <j90hav$so3$1@smc.vnet.net> |
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
[toc] | [next] | [standalone]
| From | Silvia <wyelen@gmail.com> |
|---|---|
| Date | 2011-11-05 09:48 +0000 |
| Message-ID | <j930q4$a7j$1@smc.vnet.net> |
| In reply to | #6186 |
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]
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web