Questions relating to the dynamic family of functions in Mathematica, such as Dynamic, DynamicModule and Manipulate.
0
votes
0answers
46 views
Abridging Lists of Equations within NDSolve, Manipulate [duplicate]
I have a pretty little NDSolve function that I've finally decked out with manipulatable (by sliders) coefficients, which changes the graph in real time. However, I ...
0
votes
1answer
57 views
How to dynamically update background colors using TrackedSymbols?
I wrote 2 functions names are BooleanTest and MainTest.The following code is below
...
21
votes
0answers
105 views
How safe is the use of Block and Internal`InheritedBlock
For many questions on this site answers are given which suggest to use Block and, especially for more advanced topics, ...
7
votes
2answers
146 views
Dynamic graph visualisation using JLink/Java and GraphStream
Visualising the addition of new nodes and edges to a graph to 'watch it grow' is to something Mathematica is not suited to by default. However this type of animation really helps convey the emergence ...
3
votes
1answer
55 views
Question about usage of Style as Dynamic object
I saw a Dynamic snippet in this answer, which wrote
...
0
votes
1answer
33 views
Dynamic Updating CreateDialog Problem
In this code, One cannot close the Dialog:
{TogglerBar[Dynamic[x], Range[5]], Dynamic[x], Dynamic[CreateDialog[x]]}
If I use DynamicModule this way: the Dialog ...
5
votes
1answer
72 views
Manipulate slider unresponsive after suspend in Linux
I've tested Linux Mathematica versions 7-9 on various Linux distributions, with identical problem: after suspend/resume cycle my Manipulate controls (i.e. sliders&buttons) appear unresponsive, ...
0
votes
1answer
77 views
Labelling Curves Using ListLogLinearPlot within DynamicModule (So Close)
I currently have a large number of time-series datasets in the form where the name and time-series transposed data, so I have a list of lists of names for datasets and their time-dependant data.
The ...
1
vote
0answers
47 views
Comparing data sets with fade transitions (Code speed-up)
I am using the utility below for data comparison. However, with my real (more complex) charts the processing is quite slow, so setting the Pause time under ...
2
votes
2answers
193 views
Equivalent of MATLAB's “hold on” function
I'm making an animation where the number of iterations is known. I tried using Dynamic, as I prefer updating in real time over generating data before plotting.
I ...
4
votes
2answers
66 views
Refresh dynamic variable when used with Get
I came across this issue with a more complicated program I was working on.
Suppose we have a volatile variable data:
...
0
votes
2answers
53 views
Automatically evaluating related cells
I have the cells:
In[1]:= l = 2 + 2;
In[2]:= l >= 5
After evaluating them:
Out[2]:= False
Is there a way to evaluate ...
2
votes
1answer
54 views
How can I find ,Which InputField was recently updated?
I have 4 InputFields.I want to find which InputField was recently Updated out of all ...
4
votes
2answers
70 views
Cusom PopupMenu file selector
Lately I come across what I think not uninteresting problem which is a good exercise for the usage of Dynamic. Assume you have files in a directory structure (a ...
0
votes
1answer
144 views
How to display data in a Dynamic Pane?
How to display data in a Dynamic Pane
without exponents?
Some data:
data = Range[1, 1000];
Slider data has to be added to data:
...
18
votes
2answers
662 views
Why animator smoothes dynamic updates, or how to make pacman drink beer
How could I make a pacman drink beer in Mathematica?
This is what I have so far
...
1
vote
0answers
63 views
Problem with dynamic interaction between functions?
I have written two functions one for creating list of InputField
...
5
votes
3answers
178 views
Interpolation with boundary conditions
I'm working on a sales projection, trying to create some flexibility in handle the forecast using locators.
The toy code is something like this:
...
10
votes
2answers
220 views
7
votes
1answer
285 views
Prevent PopupWindow from opening multiple windows
PopupWindow objects can be clicked multiple times, opening multiple popup windows for the same object. How can I prevent this?
A bit more detail: I have an ...
3
votes
2answers
107 views
Interactively Manipulate Code
Bear with me, I'm a noob; I simply want to create a radio button bar that selects whether I want to add or subtract two numbers:
...
1
vote
0answers
83 views
Dynamically filling matrix with a[[n,m]] = 1/a[[m,n]]
I'm building a square matrix, with 1s on the diagonal and elements in U the inverse of elements in L, which are random integers drawn from the sequence 1, ..., 9. Given the nature of the problem I ...
4
votes
1answer
74 views
How can I monitor and detect when a website has changed?
I'd like to detect when a website has changed, in particular when new products are announced on a site that doesn't change to often. Here's the code I wrote but I don't think it is perfect. Also the ...
0
votes
1answer
31 views
Is SynchronousUpdating->False supposed to make this simple Dynamic example work?
x = 0; Dynamic[{x, Button["+1", Pause[6]; x++]}, SynchronousUpdating -> False]
The documentation states that Dynamic and Manipulate will abort synchronous ...
1
vote
1answer
89 views
How to control dependent PopupMenus?
I created three interdependent PopupMenus with names demographic, region and ...
2
votes
2answers
80 views
How to prevent errors in Manipulate with ListPlot when a result is an empty list?
I am trying to plot two lists, where one is the reference list, and the other is only used to select and highlight the first list. Basically, I want to use the selection list ...
13
votes
1answer
395 views
Unique[] symbol not properly tracked
In a nutshell, why does this work (change y and see how the value updates)
...
3
votes
1answer
76 views
Automatically tracing and keeping ViewPoints in a list while manually rotating 3D graphics
I will need to make a video from the manual rotation of a 3D graphics. In order to do this, I will need to record the set of all view points that I made during rotation. There is method that we can ...
4
votes
1answer
194 views
Emulating a button push or a mouse click with Mathematica code
I need to perform a long action with a button. I tried setting the DynamicEvaluationTimeout, but it seems it doesn't work for me. So I want to try using several ...
48
votes
2answers
2k views
How to manipulate 2D plots?
When it comes to visual analysis, large datasets or data with intricate internal details often makes plotting in 2D useless, as the outcome is either just a fraction of the full dataset, or no details ...
4
votes
1answer
66 views
Using the mouse coordinates to index a matrix
I would like to "write" on to a matrix using the mouse. That is, I would like to use the integer value of Locator coordinates (p) to index a matrix. Then, if the mouse button is down, write a 1 in ...
6
votes
2answers
111 views
Making ColorSetter work like a PasteButton
I might be missing something obvious here. I am building a palette for constructing code to make certain graphics. The idea is that my colleagues can click buttons instead of having to know the right ...
14
votes
4answers
183 views
How to Initiate a queued evaluation from a Dynamic GUI without using a Button
I have a Dynamic-based GUI, and one part of it will kick off a calculation that could take longer than the default 5-second dynamic timeout.
I know that ...
-3
votes
1answer
109 views
How can you show data in a CDF Animate Graphic?
I want to show (dynamically) the curvature and torsion in a CDF to understand the quantitative measure of any points. Do you know what I have to do to show data in a ...
4
votes
2answers
190 views
How can I change a Slider's appearance?
I am using Mathematica 9.0 and Windows 7. I want to create a Slider that looks like the following:
I tried the following:
...
11
votes
1answer
457 views
How to work around Mathematica hanging when showing a large SparseArray?
Note: This is fixed in 9.0.1.
In Mathematica 9, if I display any large SparseArray object in the default way (which looks something like ...
4
votes
2answers
143 views
How to dynamically update Locator[] constraints?
I need to visualize Menelaus' theorem for a triangle with moving locators for each of six points. So the vertexes of the triangle can move in any possible way, and the three points on the sides of the ...
2
votes
0answers
42 views
Non-preemptive evaluation of a dynamic function? [duplicate]
I want to monitor a long calculation that is triggered by the release of a Slider. While one can indicate running calculations when the main evaluation loop is ...
2
votes
1answer
76 views
Combining two notebooks
I have a notebook which contain all the variables and defined functions. I want to do two tasks. As an example, I want to find the density and energy which have equations in terms of above mentioned ...
13
votes
4answers
285 views
Is it possible to select outliers on a graph and determine the index of the outliers?
I have a large data set of experimental data for which I have determined a theoretical fit. However, for some of the experimental data I took, there was systematic error, leading to the data deviating ...
1
vote
0answers
67 views
How can I increase the speed of a dynamic visualization of a Raster3D?
I have big list of data. Its length is 56203*100 and I partitioned biglist into 100 sublists, so each sublist length is ...
14
votes
3answers
226 views
Using Refresh[..] with TrackedSymbols
This is a very basic question, but I don't understand the following behavior. The usage to Refresh reads
represents an object whose value in a Dynamic should be ...
10
votes
0answers
204 views
How do I stop my joystick from rotating a 3D graphic?
I am trying to use Mathematica to illustrate mixed strategies in Game Theory. I want my students to be able to use common joysticks as controllers. What I find, however, is that in addition to doing ...
6
votes
3answers
163 views
How to use custom Dynamic inside Manipulate
I was wondering if it is possible to use a custom Dynamic[var, function] inside a Manipulate. The reason for the need is this:
...
8
votes
3answers
231 views
How to anchor a Pane's scroll position to the bottom?
Suppose I have a Pane containing some dynamic text, for example that is being updated by a logging function.
...
3
votes
1answer
73 views
Alternative updating of a dynamic expression
I am looking for a solution to selectively update a dynamic expression expr which is dependent on multiple control variables ...
7
votes
1answer
119 views
Time range selector à la InteractiveTradingChart
I have time series data and I would like to interactively select a part of it. This problem is beautifully solved in the lower part of the InteractiveTradingChart command:
I would like to be able ...
1
vote
0answers
41 views
SendMail in Dynamic Refresh executed continuously in a loop. UpdateInterval and TrackedSymbols ignored! [closed]
I am writing a program that simulates water storage with combined rain and pump fed supply. To allow a hypothetic employee in control to overview the situation while inspecting some remote locations ...
3
votes
2answers
123 views
In a Manipulate[], control timing of Autorun
I've made a gauge like instrument that will get used to prompt someone to maintain rhythmic breathing patterns during heart/brain coherence training.
...
3
votes
1answer
114 views
How to force Pane to always scroll to end of content? [duplicate]
Mathematica seems to know about the actual end of content position in a Pane if given large enough (but not too large$^1$) initial position value. Here, the ...




