Skip to main content
17 events
when toggle format what by license comment
Jun 16, 2020 at 9:23 history edited CommunityBot
Commonmark migration
Jul 25, 2016 at 14:44 history edited Kuba CC BY-SA 3.0
added 316 characters in body
Jul 25, 2016 at 13:52 comment added Kuba @nibudd I don't understand, I said what Setting does and documentation also says so, it strips Dynamic inner to Setting. That is all.
Jul 22, 2016 at 18:23 comment added nibudd So Setting causes TrackedSymbolx:>{auto} to be applied to Dynamic@Plot[... but Identity does not? Why is that?
Jul 22, 2016 at 8:26 history edited Kuba CC BY-SA 3.0
added 15 characters in body
Jul 22, 2016 at 5:29 history edited Kuba CC BY-SA 3.0
added 292 characters in body
Jul 21, 2016 at 17:47 comment added Kuba @nibudd I see, take a look at the edit, that should be it.
Jul 21, 2016 at 17:46 history edited Kuba CC BY-SA 3.0
added 885 characters in body
Jul 21, 2016 at 16:52 comment added nibudd I did read the documentation on Dynamic, but since I'm relatively new to Mathematica, I did not find it terribly helpful. I appreciate you clearing up my confusion. Can you think of another way to accomplish the same thing by using the TrackedSymbols attribute of Plot? I've been trying to do this with something like TrackedSymbols :> Dynamic[list, If[manualUpdate = #, list = {update}, list = {a, b}] &]' where update` is tied to my update button, and a, b are tied to two different sliders. It would be nice to have a solution that didn't involve duplicating each slider.
Jul 21, 2016 at 16:27 history edited Kuba CC BY-SA 3.0
edited body
Jul 21, 2016 at 16:22 comment added Kuba @nibudd 1. take a look at docs for Dynamic, the second argument of Dynamic can be a function which does whatever you want with the state of the controller. # is a slot which will be filled with that state, so True or False. 2. auto = # has 2 roles, assigns Checkbox state to auto and returns this value so we can synchronize a with tempA (when a or tempA is active the other isn't though we don't want it's old value to pop up after switching). Hope that was clear. About @, take a look at What the @#%^&*?!
Jul 21, 2016 at 15:45 comment added nibudd If you'll indulge me, I have some questions about how this works: 1. What is the If pure function taking as its argument, the value of Checkbox? 2. What is the meaning of auto = # in the first argument of If? Is # being evaluated to determine which expression to execute (a = tempA or tempA = a) and then assigning that value to auto? 2b. If so, why is that necessary? Isn't auto already tied to the Checkbox? 3. What is the meaning of @ here? I can't find any documentation on this kind of usage (Dynamic @ Plot[..., Dynamic @ auto, or Dynamic @ Not @ auto)
Jul 21, 2016 at 6:02 history edited Kuba CC BY-SA 3.0
added 182 characters in body
Jul 20, 2016 at 21:52 comment added nibudd This is exactly the kind of thing I was trying to achieve. Now to understand what you've done here - thank you!
Jul 20, 2016 at 21:51 vote accept nibudd
Jul 20, 2016 at 21:18 history edited Kuba CC BY-SA 3.0
added 39 characters in body
Jul 20, 2016 at 21:01 history answered Kuba CC BY-SA 3.0