Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2150 > unrolled thread

How can I set a dynamic global via a Locator

Started by"Christopher O. Young" <cy56@comcast.net>
First post2011-05-07 10:23 +0000
Last post2011-05-07 10:23 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  How can I set a dynamic global via a Locator "Christopher O. Young" <cy56@comcast.net> - 2011-05-07 10:23 +0000

#2150 — How can I set a dynamic global via a Locator

From"Christopher O. Young" <cy56@comcast.net>
Date2011-05-07 10:23 +0000
SubjectHow 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]]
]

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web