Questions on the Manipulate function of Mathematica, a function that allows the interactive manipulation of certain parameters in a Mathematica expression.

learn more… | top users | synonyms

4
votes
1answer
106 views

How can I highlight the vanishing-partials in an interactive 3D plot?

I am using Manipulate and Plot3D to plot a function with two real variables and two extra parameters. ...
4
votes
1answer
221 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?
4
votes
1answer
123 views

Why does one of my Manipulate integer variables get turned into a real?

I'm developing code for manipulating graphs. Spot the difference in the 2 Manipulates below: ...
4
votes
3answers
140 views

Manipulate: size of controls

As you can see in the drawing, I'm making a little Manipulate program. I'd now like to decrease the size of the controls at the left—to have more space for the ...
4
votes
3answers
113 views

Graphics updating from inside double-Fold-iteration within Manipulate

Normally, when using Manipulate[expr, controls, options], the graphics updating should be carried out at the very end of expr. But now I encounter a situation ...
4
votes
1answer
257 views

Noticeable slowdown in graphical performance when using manipulate

I have been making these mathematica 3D objects that involve a molecule with some sort of surface displayed above them. This is done fairly easily by: ...
4
votes
1answer
143 views

Change CurrentValue of a key press

I was wondering if there is a way that I could change the value of a key press such as Shift, Ctrl, etc. Normally, when nothing is pressed, the CurrentValue will ...
4
votes
1answer
202 views

How to control variables of outer and inner Manipulates?

Consider the following ( working ) snippet: ...
4
votes
2answers
89 views

SetterBar divider style in Manipulate on a Mac

MMA 9.0.1 MacOSX "Mavericks". This issue is apparently mac specific. The issue of this post is illustrated here, for example. In a SetterBar control straight out ...
4
votes
1answer
151 views

'Play' button in Manipulation and slow evaluations

I'm trying to create animation of some discrete process using Manipilate: ...
4
votes
0answers
152 views

Modelling Hysteresis with a Differential Equation

I want to implement the bulk ferromagnetic hysteresis model (mostly the Jiles-Atherton Model), see http://drum.lib.umd.edu/bitstream/1903/6043/1/PhD_99-1.pdf page 44 equation (30). The needed ...
4
votes
0answers
128 views

DynamicModule, SaveDefinitions and global functions

Unfortunately, I had not checked stackoverflow, because there, the exact same behavior was already reported. Please see the Q&A "SaveDefinitions considered dangerous". Up-front, I'm on Ubuntu ...
4
votes
1answer
187 views

Manipulate a Plot that contains a variable that contains symbol [duplicate]

This snippet mm = m Manipulate[{mm, Plot[mm x, {x, 0, 1}]}, {m, 0, 1}] (m is not defined anywhere) produces a sadly fixed ...
3
votes
2answers
322 views

How to put some number of queens on chess board dynamically?

I asked how to make resizable chessboard in here. nickjamesuk help me . Here is the code. I thought I can put queens on the board chess board easily after created resizable board, but it didn't work ...
3
votes
2answers
80 views

Matrix of given size with unspecified elements

I want to generate a Matrix of given size whose elements are not specified I can use Array[a, {3, 2}] to get ...
3
votes
4answers
265 views

Change all Options of Plot Dynamically

I am trying to make a series of changes in the appearance of the Plot of some function. I am trying to use Manipulate for my experiments. I tried to change the following code ...
3
votes
3answers
108 views

Style changes between controls and graphics

In the following Manipulate, the style (font?) of the a changes between when it is a control label and when it is a label in the graphics. Is there a way to make ...
3
votes
2answers
188 views

How to make slider in/visible in Manipulate?

I need your help with making a slider invisible and visible in a Manipulate. Here is my code: ...
3
votes
1answer
141 views

Manipulate for probability distribution with multiple parameters, kernel smoothing

I'm looking to use the Manipulate command to take a distribution with multiple parameters (e.g., mean and sigma for the normal), generate some variates, then plot ...
3
votes
1answer
110 views

Controlling margin around PlotLegends

Here's my code: ...
3
votes
2answers
140 views

Dropping value of one variable when another changes

Context: There is a list of lists list where lists are different length. Using one control I change a part of list to view, and with another one — what certain ...
3
votes
2answers
217 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) ...
3
votes
2answers
728 views

Why is my animation so slow?

I have an animated plot of the kind ...
3
votes
1answer
146 views

Manipulate not showing anything

This works: Manipulate[Plot[2*x + 3*y, {x, 3, 4}], {y, 3, 4}] But this doesn't ...
3
votes
2answers
365 views

Question about making TabView remember what tab to open

Background: Consider the following ( for the purpose of illustrating this question ) simplified, but working snippet of code. ...
3
votes
1answer
219 views

How to programmatically create a Manipulate in another Manipulate?

Background: the following Manipulate works as expected ...
3
votes
1answer
240 views

Feed a Manipulate[] Output into a Graphics[]

Please consider : ...
3
votes
2answers
51 views

Avoiding RandomVariate update with use of Locator

I am preparing an activity that simulates the response from a noisy spectrometer. The function I use to generate the data has the form: ...
3
votes
1answer
120 views

Manipulate with formatted output

I would like to have 4 output fields for something like the following: Manipulate[ n*x n/x n + x n - x, {n, 1, 10}, {x, 1, 10}, ControlType -> InputField] but ...
3
votes
1answer
305 views

Combining Two Manipulated Plots Dependent on Same Variables

I need to combine two plots on the same graph to highlight the intersection of the two while being able to manipulate various parameters that are common to both functions. I need to have the slider ...
3
votes
2answers
189 views

Export in Manipulate, infinite loop

I want to make export of a plot inside Manipulate, but only once. However, this code runs infinitely and does export infinitely: ...
3
votes
2answers
183 views

Click on a curve to start Manipulating another function

I'm able to plot two lists with a tooltip on the curves to display the name of the curve: ...
3
votes
2answers
219 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
158 views

Manipulate and FileNameSetter don't want to play nice together

In a Manipulate, one can specific the type of an individual control like so: Manipulate[v, {v, Red, ColorSetter}] I tried to ...
3
votes
2answers
876 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 ...
3
votes
1answer
103 views

Switch inside Manipulate controls statement

I am using this code inside of a Manipulate: ...
3
votes
1answer
128 views

Mouse click on BarChart elements

What I would like to do is explore a data set by clicking on elements in a BarChart. I have some existing code which uses a manipulate which I was hoping to modify. ...
3
votes
1answer
162 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
1answer
252 views

How to efficiently drag points on a curve within a Manipulate

My intention is to demonstrate on any conic various metrics properties on points belonging to the conic and connected by lines. I want the points to be dynamically moved not the usual way, ...
3
votes
3answers
105 views

Zooming the interval arround $0.333\cdots $, whats wrong?

I'm trying to zoom the interval arround $0.333\cdots$ with: ...
3
votes
2answers
133 views

How can I track the execution time of an evaluating Manipulate cell?

In Wolfram's tutorial on Advanced Manipulate Functionality, a nice example of a continually evaluating Manipulate cell is presented: ...
3
votes
2answers
319 views

Ploting a 3D vector field using Manipulate, VectorPlot3D and NDSolve

My aim is to plot a vector field of the following system with a few trajectories: $$r'(t)=i-l.r(t)-\text{ux}. r(t). x(t)-\text{uy}. r(t). y(t) \\ x'(t)=\text{ex}. \text{ux}. r(t). x(t)-\text{mx}. ...
3
votes
1answer
146 views

Labeling SetterBar in Manipulate

This is the form of my list list1 = {{1, 2}, {3, 4}}; list2 = {{5, 6}, {7, 8}}; list = {{list1, list2}}; I want to plot list1 and list2 in a ListPlot with ...
3
votes
1answer
369 views

Exporting a Video of a Simulation of Pendulum Motion

In a series of previous questions, I asked how to solve a series of differential equations describing a series of coupled pendulums, and then how to plot this data by coloring the different pendulums. ...
3
votes
1answer
1k views

Embed CDF into an Apple iBook?

Edit From the comments I received and verifying the information about CDF at wolfram.com, it appears that it is presently impossible to embed CDF into iBooks. WRI does not appear to be happy with this ...
3
votes
1answer
92 views

How can I get precise frame rates in dynamic?

I've been the Spritz sdk in my ios apps, and I love it. For funsies I wanted to see how much less code a mathematica version would take! Using dynamic I get a nice result, shown below in code. ...
3
votes
1answer
66 views

How can I terminate a running computation in Manipulate?

I want to make a simple cdf file that makes some hard computations inside Manipulate. Is there a simple way, lets say using a "stop!" Button, to terminate the time consuming calculations--without ...
3
votes
1answer
205 views

How to speed up Manipulate with Graphics3D

How do I speed up the Manipulate of the Graphics3D objects here? It is currently painfully slow, and I'm at a loss. I have reviewed many other posts and implemented what I could based on them, but it ...
3
votes
1answer
201 views

Combine a dynamic module with a manipulation

I would like to combine a dynamic module with a manipulation, whilst maintaining the functionality of both. I have tried things like Show and ...
3
votes
1answer
157 views

How can I use Manipulate[] to click on a Graphics3D output and generate $(x,y)$ outputs on a projection plane parallel to my screen?

Say I have some Graphics3D object that I'm looking at from a top down perspective, e.g.: ...