Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2150 > unrolled thread
| Started by | "Christopher O. Young" <cy56@comcast.net> |
|---|---|
| First post | 2011-05-07 10:23 +0000 |
| Last post | 2011-05-07 10:23 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
How can I set a dynamic global via a Locator "Christopher O. Young" <cy56@comcast.net> - 2011-05-07 10:23 +0000
| From | "Christopher O. Young" <cy56@comcast.net> |
|---|---|
| Date | 2011-05-07 10:23 +0000 |
| Subject | How can I set a dynamic global via a Locator |
| Message-ID | <iq36if$dsl$1@smc.vnet.net> |
This works, outputting the value set by the draggable locator point. But I
have to initialize s as a point first. I'm not sure why.
s = {0, 0}
Dynamic[s]
Graphics[
Locator[Dynamic[s]]
]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web