Tagged Questions
0
votes
0answers
50 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 ...
2
votes
2answers
86 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 ...
-3
votes
1answer
113 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 ...
2
votes
1answer
77 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 ...
4
votes
2answers
149 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 ...
6
votes
3answers
170 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:
...
3
votes
2answers
126 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
2answers
129 views
Why does the syntax highlighter color a local symbol red inside DynamicModule?
I am adding a Module inside DynamicModule here is an example (thanks to @rm-rf for this simple example)
...
2
votes
1answer
121 views
Resetting an animation with a custom button
I have the following code, which accepts a function via an InputField, and then gradually draws that function in a Plot using ...
4
votes
2answers
200 views
Moving From Dynamic Module to Manipulate
In trying to implement Vitaly's suggestion about how to take control of Locator events,
I have been able to make headway using ...
6
votes
4answers
253 views
How to save Manipulate bookmarks permanently?
I would like to save current Manipulate parameter values to load them again later. Bookmarks (previously discussed here and here) work fine until the cell is ...
8
votes
5answers
295 views
Manipulate Exp[I θ]+b Exp[-I θ]
I've uploaded an image showing a demonstration I'd like to create, but I definitely need help. There is a lot of talent on this list, so maybe someone can help me get started learning how to add ...
1
vote
2answers
131 views
How to make a Tooltip display dynamic based on a parameter value?
If k=3, then I would like the following to say "Sine Curve, k=3" when you hover over the output of the Tooltip command:
...
1
vote
1answer
75 views
Changing the number of locators with SetterBar
Typically when adding locators I would use a button i.e. something along the lines
...
7
votes
1answer
125 views
Can I select or implement a Manipulate bookmark from an arbitrary control?
I understand how I can select a bookmark from the "+" menu of a Manipulate. Is there a way to select a bookmark from an arbitrary control, or define a control that ...
4
votes
4answers
115 views
Make a slider controlling a generated character's code value
If I execute the following code:
char = 97;
Slider[Dynamic@ToExpression@FromCharacterCode@char, {0, 5}]
the slider will fail to change the value of ...
6
votes
2answers
184 views
Localizing variables within a Manipulate
I have a notebook with several examples of very similar computations, each involving the same variable/parameter names of the ingredients used in a final ...
5
votes
2answers
160 views
Locators in Manipulate not moving properly
I thought a simple Mathematica kerning machine (for adjusting the space between characters) would be interesting, but I'm having trouble with the locators. (There are a number of other questions ...
8
votes
2answers
141 views
Dependent Manipulate sliders
I would like to use dependent sliders in Manipulate.
First slider K0 should be independent and varied from ...
2
votes
2answers
98 views
Updating a tracked symbol inside Refresh?
I have some code inside a Manipulate, whose goal is to allow the user to edit the upper half of the matrix while keeping it symmetric at all time. The minimal code ...
1
vote
2answers
288 views
Manipulating PlotRange
Currently, I am working with some dynamic simulations of mechanical/electrical systems (in this case a kitchen scale). The main simulation is running smoothly but while building a nice GUI around the ...
6
votes
1answer
144 views
Using more than one set of Locators in a Manipulate
I need to add locators dynamically to different sets.
With one set this works OK:
...
5
votes
2answers
121 views
A command for outputting a list of parameter values in a Manipulate interface
I am looking for a command that will output a list of values that correspond to the current parameter values manually set on a particular Manipulate interface.
For ...
5
votes
1answer
183 views
Enabled option for slider in Manipulate not updating dynamically
In a Manipulate expression I have a slider control which has the Enabled option
...
6
votes
1answer
140 views
How can I have interruptible computations inside a manipulate?
Here's a perfect example of my problem:
Manipulate[Pause[n], {n, {1, 10}, ContinuousAction -> False}, SynchronousUpdating -> False]
It is illustrated by ...
5
votes
1answer
135 views
How to convert String to an Expression inside Manipulate which depends on control variable
Normally, in Global context, these 2 are equivalent
eqn = "r-x";
r = -2;
Plot[ToExpression[eqn], {x, -5, 5}]
and
...
5
votes
1answer
110 views
Control variable and body variable decoupling in Manipulate
This issue was raised as an offside problem in this thread. Consider the following example, that does not work as expected:
...
2
votes
2answers
175 views
Dynamically choosing which Manipulate controls to use
I have some stuff I would like to manipulate, using two different kinds of control, one at a time, using another variable as a switch. These controls are similar in principle to
...
7
votes
1answer
159 views
Prevent interdependence of controls
My question is probably best illustrated with this small sample code:
...
2
votes
1answer
53 views
`Trigger` autorunning when not supposed to
Recently I was trying to make something where one could vary the parameters and press play to see how the animation changed. However, when I tried running the code it would just start automatically. ...
9
votes
4answers
236 views
How are parameters evaluated for a Plot in Manipulate
I am trying to get my head around how Manipulate evaluates functions in a Plot. I have read the introduction to Manipulate, and introduction to Dynamic, but I still ...
7
votes
2answers
163 views
Moving controls from Manipulate to a Palette ( or similar GUI object )
Consider the following snippet as a reference.
...
6
votes
2answers
166 views
Manipulators and Dynamic in more concise code
Is there a way to update dynamic variables through a function. I was looking back at one of the answers from Heike where she showed me how to make my custom ...
6
votes
2answers
314 views
Formatted text in a Dynamic or Manipulate control
I am using a Manipulate control to show different calculations for the same user-specified parameters. I would like to show the results for the calculation the ...
5
votes
3answers
183 views
Question about modifying a Slider2D control
Background: I want to develop a custom control, based on a 2D slider. I currently have this ( working ) example.
...
10
votes
4answers
476 views
Manipulate BarChart with Mathematica
In the following minimal working example:
Manipulate[BarChart[{a,b}],{a,1,2},{b,1,2}]
I'd like to be able to control the size of the bars by using some sort of ...
18
votes
2answers
277 views
What is the equivalent of a prototypical Manipulate in lower level functions?
Background: In the Mathematica tutorial 'Dynamic Interactivity' I read that there is a way of developing GUIs in Mathematica that do not use Manipulate. I want to ...
4
votes
1answer
163 views
How to control variables of outer and inner Manipulates?
Consider the following ( working ) snippet:
...
17
votes
1answer
373 views
What is the proper method to load a Mathematica package inside a DynamicModule
I have a DynamicModule that requires loading of Mathematica packages. The usual methods do not seem to apply (...
7
votes
1answer
231 views
Locking a value when Manipulating variables
I'm trying to achieve something similar to Bret Victor's brilliant Scrubbing Calculator in Mathematica.
By using Manipulate I'd like to change the values of the variables such that if I modify one ...
5
votes
1answer
152 views
How to add several Locators to a Graphic with a mouse click?
Background: Suppose I have something like this:
...
4
votes
1answer
200 views
What changes in Dynamic have occurred from Mathematica 7 to Mathematica 8 that might induce incompatibilities?
I have a function that outputs a Manipulate (say
FAnimated[params_]:= Manipulate[F[params,t], {Time, Animator[t]}]
where F ...
14
votes
2answers
297 views
How can I set the speed of manipulate play button?
Can you set the speed at which a Manipulate plays when the play button is clicked?
7
votes
2answers
296 views
What causes Manipulate to stop evaluating expressions?
I'm working on a N-body simulation within Mathematica, and currently I have something along these lines:
...


