Questions relating to the dynamic family of functions in Mathematica, such as Dynamic, DynamicModule and Manipulate.

learn more… | top users | synonyms

1
vote
0answers
17 views

Value jump in Manipulate when opening input field [duplicate]

In working with some Manipulate functions, I have noticed an oddity when opening the "Show Animation Controls" icon. Here's a simple example that plots a sine wave, ...
8
votes
2answers
345 views

AJAX-style HTTP calls triggered by a variable change

I'm trying to create a dynamic InputField that would autocomplete the address as I type it into the field, by calling Google Maps' GeoCoding API on every change of ...
0
votes
1answer
62 views

Stopping sliders in Manipulate going to dynamic unfeasible regions

I am trying to use Manipulate to create a function which allows a user to play with a probability density. The following generates a static density over the range 2000 - 4000, then allows the user to ...
1
vote
1answer
109 views

ListPlot with checkboxes [duplicate]

I have imported data for several projects {prj1, prj2, ...} from an excel file, in form of {x,y} coordinates of points. I stored these data in variables and I would like to plot them, also having the ...
1
vote
0answers
82 views

Software Testing (Dynamic, Manipulate, DynamicModule) Interfaces

The main Testing Framework (in both the frontend and Wolfram Workbench) supports unit testing for command-line invocations. Is there a natural way of co-opting this, or perhaps there already exist ...
1
vote
0answers
119 views

Demonstration of an arbitrarily oriented and translated ellipsoid

(Edited and modified) After the advice I received I modify the post. I have created the following code for depicting an arbitrarily rotated and translated ellipsoid, along its ellipsoidal axes and ...
1
vote
0answers
62 views

Learning mathematica, ListPlot [closed]

I am trying to teach my self Mathematica. I am working with the following example: ...
0
votes
1answer
49 views
0
votes
1answer
73 views

repeat calculate [closed]

I want to calculate the below program x[t+1].But I can only calculate t=0,1. please tell me how to calculate t = 0 to 10. ...
4
votes
1answer
76 views

How to feed parameters obtained from direct 3D manipulation back into Manipulate's controls?

Here's a simple example of using Manipulate to interactively change the viewer's point-of-view for a 3D graphics object: ...
5
votes
1answer
132 views

Is it possible to update Dynamic objects even when they are off screen?

I am using Dynamic and DynamicModule to display graphics/statistics generated from a long-running set of parallel tasks. The ...
6
votes
0answers
56 views

Why is setting SynchronousUpdating -> True causes mouse motion to pause/freeze Dynamics?

When making a Manipulate, I noticed that setting SynchronousUpdating -> True have a very annoying side effect. By just moving the mouse anywhere on the same cell ...
1
vote
1answer
42 views

How can I decouple the updating of a `LocatorPane`'s background from changes in its point variables?

I am building a Dynamic application and I'm having some trouble understanding exactly how Refresh should be implemented. The ...
1
vote
1answer
70 views

Want to display a animation necklace when updating a list of suggestions from an inputfield search

I have an InputField search that provides search suggestions, but I want an animation necklace to be displayed while the search is 'busy'. I would also like this to be done using Dynamic rather than ...
1
vote
1answer
63 views

How to disable dynamic update in DynamicModule when certain variable is updated [closed]

I have a UI with DynamicModules. I have a progress bar, whenever the varibale progress updates, the ...
0
votes
1answer
39 views

About Manipulate : How to make this work properly?

Manipulate[ Plot[PDF[NormalDistribution[mu, sigma], x], {x, -4*sigma, 4*sigma}], {mu, -10, 10}, {sigma, 0, 10} ] I got the following error:
4
votes
0answers
83 views

How to avoid the pink background in GUIs without using Quiet

GUIs may generate warnings while internal evaluations are processed. In this example I intentionally introduce a line that will generate a warning. Warnings are useful, so I don't want to quiet them ...
1
vote
0answers
62 views

How can I perfect this game for Wolfram Demonstration publication? [closed]

When the messages change the window inactivates, and when I try to host an interactive CDF on my site it turns red and says something about numbers having to be scaled or offset. Any help? I'm ...
5
votes
1answer
113 views
0
votes
1answer
40 views

Behavior of custom file chooser code changes when placed inside DynamicModule

My primary objective is to build a file chooser that aides a user in selecting files into one of two categories. Files can be individually selected, or based on the clicking of a specific checkbox, ...
2
votes
1answer
57 views

How can I get a manipulated parameter to show up with text next to it?

I'm trying to make a dynamic demonstration involving the $\epsilon-\delta$ proof of the limit, $$\lim_{x\to c}(2x-1)=2c-1$$ with the following code. d and ...
6
votes
4answers
301 views

Dynamic list in which the sum of the elements is invariant under changes to the elements

2nd Update Here's a snapshot of a graphical user interface I'm thinking. I hope this could be self-explanatory and demonstrate the functionalities I mentioned in the 1st update. Thank you all! ...
5
votes
1answer
94 views

Dynamics and Block interfere

As mentioned by Albert Retey in a comment, we can unintentionally interfere with our dynamics as follows ...
3
votes
1answer
287 views

Initializing Manipulator value within DialogInput (version 10.1 only)

Bug introduced in 10.1.0 and fixed in 10.2.0 I've confirmed, with WRI, that an issue was introduced in version 10.1 with regard to initializing Manipulator Dynamic ...
1
vote
1answer
137 views

Slow program- Mathematica shuts down

I've been trying to draw dynamic pictures of level sets of certain polynomials. The code right now looks like that : ...
0
votes
1answer
84 views

Basic (?) dynamic module questions (If clause and refresh problems)

I'm building a dynamic module, but I'm stuck with a few things i don't know how to deal with. In particular I'm stuck with the "If" sentence and the refresh inside the dynamic module. Here's a ...
2
votes
2answers
78 views

Why doesn't Quantity accept a Dynamic expression as a second argument?

If anyone can help me with this, it would be greatly appreciated. I'm using the following code with the intent of using controls to easily input values and units: ...
3
votes
2answers
101 views

Is it possible to return a list of variable values set by Manipulate?

Is it possible to write a function that returns a set of values that are set by Manipulate? For example, a function that returns a dataset of variables modified by ...
1
vote
2answers
90 views

How to show system busy during Dynamic with SynchronousUpdating -> False?

For long running evaluations in Dynamic it is recommended that SynchronousUpdating -> False be used to prevent time-out. ...
6
votes
0answers
138 views

Trouble understanding TrackedSymbols

While developing a relatively complex demonstration for Manipulate I encountered the problem that my output was unintentionally self-updating in an endless loop. ...
4
votes
1answer
145 views

DynamicModule issues with Refresh, double evaluation, and CDF Player preview

I am in the middle of making a CDF for a calculation of many random variables. I've gone with DynamicModule and have read the documentation plus these posts: 32294 ...
9
votes
2answers
142 views

Dynamic cells after Kernel restart/quit:

After quitting the kernel only one Dynamic cell fires. And it does not matter how many are there. ...
0
votes
1answer
38 views

How can I make a RadioButtonBar that randomizes the choices each time a notebook is opened?

I have the following function for making a RadioButtonBar with randomized choices. The code is ...
1
vote
2answers
146 views

Manipulate with multiple locators [closed]

How can I work with tables/lists of Locators under manipulate? Note this is very similar to this question: http://mathematica.stackexchange.com/a/51956/2079 The ...
0
votes
2answers
60 views

MousePosition and While loop Control, maybe Dynamic in While statement?

I would like to write a simple code that samples mouse position as frequently as the system can handle (with minimum dt) starting when the mouse position leaves a region and ending when the mouse ...
9
votes
1answer
114 views

How to synchronize the display of dynamic objects?

I was looking at this question, which asks to keep the orientation of some 3D graphics objects constant (relative to the viewer) while rotating the rest with the mouse. I thought that maybe the ...
0
votes
0answers
28 views

How to use ScheduleTask in a dynamic module? [duplicate]

I have a little timer widget that times two separate tasks: It is simple enough, but I can't see why it's not working. Am I not understanding the connection between ScheduleTasks and Dynamics? ...
4
votes
0answers
69 views

What is the purpose of Refresh? [duplicate]

I never quite understood the point of Refresh. Why would I do this: Dynamic[Refresh[DateString[], UpdateInterval -> 1]] when it is the same as ...
3
votes
1answer
67 views

How to stop a Dynamic[] in one notebook from hurting performance in another?

I have two notebooks open, one has a dynamic expression running (a simple clock) ...
4
votes
1answer
83 views

Automatically assign Variablenames to multiple checkboxes

I want to implement the option to import data from Excel and then the ability to trim this data in order to fit the needs. The import from Excel: (source) ...
4
votes
1answer
120 views

How to restart a Clock

The code below is to demonstrate color afterimages. The user chooses a color, fixates the changing number at the center until it reach 30 (seconds), then manually switches to white to observer the ...
0
votes
1answer
43 views

How do I get the bounds of my Slider to correspond to the current length of a string entered in another control?

I have a text entry control in a Manipulate that I index into the value of using the value of a Slider control. This works as ...
0
votes
1answer
53 views

Why won't Select work on my Dynamic values?

Why won't Select work on my list of Dynamic values? For example if I have some Dynamic ...
0
votes
1answer
81 views

Calling dynamic functions multiple times

I have a large number of functions which I am combining into packages and will call those functions via a palette. I then use those functions in a notebook and may need to call them several times. The ...
5
votes
1answer
79 views

Using a progress bar in a functional expression

If we have a procedural construct like a Do loop or Table, it is straightforward to make a progress bar to indicate the percent ...
2
votes
2answers
91 views

Dynamic updating of Slot number [duplicate]

I want to change the slot number inside Manipulate[]. Here is a minimal example which does not work: ...
8
votes
2answers
313 views

Palette button with progress bar

Let's say you have a palette with a button that has to do some time-consuming task when clicked: ...
1
vote
1answer
60 views

How do you hide/show a dynamic element in a list?

Here is the simplified version of the problem: THIS: {1,2,##&[],4,5} RETURNS: {1,2,4,5} ...
4
votes
1answer
108 views

Unwanted interaction between instances of a Manipulate function

The function trajectory below is defined in terms of Manipulate and calls the auxiliary function ...