Questions on the Manipulate function of Mathematica, a function that allows the interactive manipulation of certain parameters in a Mathematica expression.
6
votes
1answer
232 views
How to eliminate the backward play in Export of Manipulate?
I find that the Export of Manipuate contains backforward play, see a simplified example:
...
6
votes
1answer
244 views
How do I constrain the region where I can drag a Locator?
How do I constrain the region where I can drag a Locator to conform to rules, including rules that apply to computations resulting from the value of the ...
5
votes
2answers
114 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 ...
3
votes
1answer
147 views
How can I independently move vector components (in 2D)?
Here's what may well be a simple problem that I have been having difficulty with:
There are two connected vectors, v1 and v2, such that:
v1 begins at the origin and and ends at point a1
v2 begins ...
5
votes
1answer
176 views
Enabled option for slider in Manipulate not updating dynamically
In a Manipulate expression I have a slider control which has the Enabled option
...
1
vote
2answers
220 views
Combining manipulated plots
Let's say I have two manipulated plots:
Manipulate[Plot[Sin[a x], {x, 0, Pi}], {a, 0, 10}]
Manipulate[Plot[Cos[b x], {x, 0, Pi}], {b, 0, 10}]
How can I create a ...
4
votes
1answer
108 views
Automatically expanding sliders in Manipulate
Is there some way to have all sliders expanded by default in a Manipulator object, i.e. as if I had clicked all "+" signs?
6
votes
1answer
134 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 ...
4
votes
4answers
194 views
Manipulate with explicit updates
I want to use Manipulate (I am open to other alternatives) to apply one of two different functions f or ...
1
vote
1answer
234 views
Increasing number of decimal places in Manipulate input
I've made a Manipulate app. in Mathematica where I vary the value of a function f(a) by varying the parameter a. However, I seem to only be able to edit my input for a for a value up to 5 decimal ...
4
votes
2answers
154 views
saving Manipulate data inside a notebook
I want to send a few Manipulate Plots and regular plots to my advisor in a notebook. I ...
1
vote
1answer
143 views
Manipulate indexed Interpolating Functions
MWE
I have some data indexed by gamma. For each gamma I want to find the intersection points of two lists and plot the lists ...
4
votes
1answer
145 views
How do I dynamically change Manipulate controls?
What I'd like to be able to do is dynamically change the axis of a 3D plot inside a manipulate.
For example if I have a function that has three input variables I'd like a 3D plot using 2 of the ...
3
votes
2answers
141 views
How to speed up drawing a tangent plane?
I have this code to produce an interactive visualization of a tangent plane to a function:
...
5
votes
2answers
103 views
How to connect a checkbox with part of the graphics?
I'd like to have a checkbox in a Manipulate expression, governing whether part of the graphics is displayed or not. For instance, assume that I have a surface with ...
5
votes
1answer
130 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
109 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
163 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
155 views
Prevent interdependence of controls
My question is probably best illustrated with this small sample code:
...
3
votes
1answer
115 views
Change values in equation with slider
I want to make an equation where the values adjust to my slider which I inserted with manipulate.
Well, I tried, but when I use the slider the equation starts to fall apart.
Actually this should ...
3
votes
2answers
354 views
7
votes
1answer
142 views
Make ControlActive respond faster within Animate
The following code uses Animate to create an animation that displays as {t, "Inactive"} when paused, and {t, "Active"} when running:
...
7
votes
3answers
298 views
For[] or While[] can't be used inside Manipulate[]?
Here is a code sample that creates a control object which calculates the expressions inside Maniplate again and again and never stop (it's proved by the code in the ...
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. ...
7
votes
4answers
166 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 ...
3
votes
1answer
90 views
How to link a button to a manipulate play
I am wondering how I can link a button to the play button shown if you expand "Show Animation Control",
So something like,
...
2
votes
1answer
169 views
Why is LogLogPlot[] slower than Plot[]?
I notice that LogLogPlot runs quite bit more slowly than ordinary Plot. For example, consider the following two blocks of code ...
7
votes
1answer
185 views
How to wrap this dynamic code inside a Manipulate?
My goal is to set up a Ising-type simulation, where many fast simulation steps are done in the background, and a visualization of the current state is displayed as the simulation evolves, being ...
3
votes
1answer
100 views
Manipulate not showing anything
This works:
Manipulate[Plot[2*x + 3*y, {x, 3, 4}], {y, 3, 4}]
But this doesn't
...
6
votes
3answers
254 views
Changing background colour of a Manipulate element
Please consider the following:
Manipulate[Plot[Sin[x (1 + a x)], {x, 0, 6}], {a, 0, 2}];
Now, I would like to change the background colour to yellow. I tried ...
2
votes
2answers
308 views
Manipulate a Differential Equation result
I want to Manipulate the result of Differential Equation like :
...
2
votes
1answer
102 views
semantics of `ContinuousAction` on a slider. Mouse release
I needed to make 2 slider inter-dependent. Slider b in this example can't be larger than slider a. When I move slider ...
2
votes
2answers
166 views
How to clear variables in a manipulate without enabling dynamic content?
I have a series of variables that will plot the number of straight segments along a curve, thanks to the help from here on one of my previous questions.
I can create a working Manipulate command from ...
4
votes
1answer
182 views
Upon opening my notebook, I must evaluate cell for code to work properly
I am new to Mathematica. Once I evaluate the cell containing the code, my Manipulate works as desired; however, if I open the file and do not evaluate the cell, the Manipulate goes haywire. Can ...
-1
votes
1answer
209 views
Speed Up SphericalPlot3D
I was wondering if I could speed up SphericalPlot3D? I tried editing PlotPoints, and ...
3
votes
1answer
142 views
Mathematica's external controllers?
While reading the Manipulate reference I've noticed this line:
What are the available external devices for that?
Some months ago I was thinking on what would be needed to use a MIDI Controller ...
4
votes
2answers
111 views
Thread[] seems to reset changes made with Manipulate[]
Recently I have been working on group theory and I have found checking for associativity for specific Cayley tables to be rather tedious so I wrote a program to do it for me. Most of the time I would ...
13
votes
4answers
411 views
Mathematica Manipulate with macros AND variable number of controls (persistence desired)
This post about avoiding code duplication in Manipulate helped a lot getting as far as I did. The method of "macros" outlined there works excellent, but when the ...
2
votes
1answer
223 views
Why is slider not working properly in Manipulate?
This script is an abstraction from a script intended to plot errors in guiding a small telescope that is tracking a guide star. The data loosely imitate the kind of data one might get from the program ...
2
votes
1answer
180 views
Manipulating an arbitrary-precision ContourPlot
I have a function, say
minimizeme[ω_][β_][ϵ_] = ϵ^2 ω-Log[2 (Cosh[2 β]+Cosh[2 β ϵ])]/(2 β);
I want to make a high-precision dynamic ...
5
votes
3answers
188 views
Proper way to handle free variables in manipulate/plot?
It took me a while today to figure out that Manipulate (used with Plot) requires that the variable I'm manipulating be an actual ...
8
votes
3answers
439 views
RevolutionPlot3D: but NOT revolving about the z axis
I want to demonstrate generating a solid of revolution by revolving a planar region about, say, a horizontal axis. However, RevolutionPlot3D doesn't seem to have an ...
6
votes
1answer
187 views
Why does Manipulate execute the expression twice?
When I execute Foobar[] in the code below and move a slider, the variable grad is printed twice. Why is this? How can I make the ...
0
votes
0answers
168 views
Alignment and Plot size problem in PopupMenu
I have three plots in an OpenerView named "PopupWindow", "MouseOver" .
...
7
votes
3answers
396 views
PolarPlot render oddities
I apologize if this is a obvious question and answer, I don't often use Mathematica to display plots or graphics in general to be honest. So, I was tutoring my cousin yesterday in relation to Polar ...
14
votes
4answers
374 views
In a CDF can I suppress or avoid “This file contains potentially unsafe dynamic content…”
I created a CDF to distribute to a single trusted user who both knows and trusts me and everything I make for them.
I downloaded the CDF player and the CDF to one of their computers. The CDF works ...
1
vote
0answers
162 views
Adding a Parabola to a Catenary in Plot with the same Length [closed]
I wanted add a Parabola to my Manipulate/Plot, that have the same length and the same hanging points as the Catenary, so that when I Manipulate(Modify) the position of the Points A and B of the ...
1
vote
2answers
115 views
How can I crop manipulator from a plot
I wanted to know how can I crop a Manipulator from a plot. the code for plot is
...
3
votes
1answer
189 views
Manipulating a catenary in Mathematica
I have a catenary curve in Mathematica, and I wanted to add a variator (dimmer) with Manipulate, so that the user can modify the value of the x/y-coordinate of the ...
7
votes
2answers
159 views
Moving controls from Manipulate to a Palette ( or similar GUI object )
Consider the following snippet as a reference.
...

