# Tagged Questions

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

1answer
82 views

### Display coordinates of pointing device in VectorPlot

I want to show the coordinates of the (mouse) pointing device as I move the pointing device over the VectorPlot without a (right or left) click. I have tried ToolTip and MousePosition but I cannot get ...
2answers
165 views

### Show and hide various pieces of information in a Manipulate

I wanted to change the visibility of a function and its additional informations within a plot through the help of a checkbox, as shown in that post: Toggle visibility of elements in a plot But ...
1answer
102 views

### Dynamic update of displayed quantities on a Plot within manipulate

I'll admit that I only skimmed some other threads about this. They seem rather complicated in contrast to my simple problem. I have two lines in space defined by a two-by-two coefficient matrix. I ...
0answers
83 views

### Manipulate After upgrading to windows 10 [closed]

After upgrading to windows 10, whenever I run any kind of Manipulate function in Mathematica 10.1, the program freezes. This can be as simple as Manipulate[x,{x,0,5}]. Does anyone else have this ...
1answer
115 views

### Running a function with manipulators in a popup window [closed]

I have a function, pasted at the bottom, which I would like to encapsulate into a function that can be called, and the program would then run in a popup window, return the values energy, peaklocation ...
2answers
83 views

### Why doesn't variables take value from manipulate?

I am new to Mathematica and I am working on a code on which the final output depends on variables evaluated from the inputs A simplified example: (x,y) inputs ,(q,w) intermediate values, (z) output <...
1answer
81 views

### Use slider controls to set function domain of plotted function

I want to display Plot[f,{t, t1, t2}] in a Manipulate with the domain {t1, t2} specified by ...
4answers
240 views

### How should I deal with messages being produced by my Manipulate?

I have made a knockoff of John Polking's dfield for a web-embedded CDF (via Enterprise Mathematica). My code extends that from Belisarius who last year showed me how to use ...
1answer
61 views

### Using Manipulate function on time series data [closed]

I have a list of data {{date,real},{date,real},...,{date,real}} and I want to use the Manipulate function on the data. How do ...
1answer
135 views

### How to make an animation of circle “decaying” into two smaller circles using Manipulate? [closed]

I have defined three functions: $x[t], x_1[t],x_2[t]$. $x[t]$ describes the motion of a circle of some radius $r$ that, at some moment $t_0$ decays into two circles of radii $r_1$ and $r_2$. The ...
1answer
93 views

### Does DynamicModule cure Problem with Manipulate?

Hopefully, this is a final cure for the Problem with Manipulate introduced on A problem with Manipulate and then continued on Continuation of a Problem with Manipulate. Michael E2 suggested on the ...
1answer
99 views

### Antialiased text in manipulate constantly re-evaluated, ignores TrackedSymbols

I am trying to display antialiased text (using the ImportString[ExportString[]] method shown here) but inside a manipulate so that the text can be changed interactively. I have found a way to do this, ...
0answers
102 views

### Mathematica 10.2 Manipulate function settings problem [duplicate]

I am trying Manipulate function in Mathematica 10.2. The problem is that when I move the slider the graph manipulates but when I click the + sign/expand button to ...
1answer
320 views

### Manipulate code crashes V10.1

This code is working with Mathematica 9, but Mathematica 10.1 is becomes unresponsive when I try to evaluate it. ...
0answers
92 views

### Does ContourPlot3D leak assignments inside Manipulate?

Update 5 Aug 2015 -- Karsten 7. found a minimal example of leaking not involving Manipulate, so the role of Manipulate seems ...
1answer
56 views

### ControlActive ignores SetterBar

As shown in the following example, ControlActive does not seem to respond to controls such as SetterBar. Moving the slider ...
2answers
75 views

### Running an animation if a certain condition is met using Manipulate

I'm having trouble finding a way to play an animation (inside Manipulate) if a certain condition is met. I'm representing liquid volume with rectangles and if the ...
1answer
349 views

### Switch inside Manipulate controls statement

I am using this code inside Manipulate: ...
1answer
108 views

### Specifying a PopupMenu in a Manipulate expression

In my previous question here, I had a problem with showing GeoGraphics in a CDF document, but thanks to other users, I was able to solve it. But the code I wrote to test my work gave an error. I tried ...
0answers
95 views

### Possible bug with Manipulate [duplicate]

Bug introduced in 10.1.0 and fixed in 10.2.0 I am observing a potential bug not present in MMA 10.0.1.0 on Win 7 Ultimate, but observable on MMA 10.1 on Win 7 Enterprise. It seems to work with ...
3answers
274 views

### Creating centered inline cell in text cell

The cell corresponds to the textual form ...
0answers
204 views

### Initial values in Manipulate are hijacked by existing global variable values

Is the following behaviour a bug? It's the same in all versions between 9.0-10.2.0. Let's try this simple Manipulate with the initial value of ...
1answer
61 views

### Manipulate not updating the way I expected it to

I want to make a selector that allows me to select a date and, depending on the date, load a list of car makes. After that, I should be able to select a specific car make. ...
1answer
109 views

### When plot a list, how to Manipulate a sequence of defined functions at the same time?

I am trying to plot a sequence of functions, for example{(a+b)^i},{i,1,100}. All the expressions I have stored in the list. Now I want to plot them and see how their value would change if I change ...
2answers
107 views

### Interdependent Setter controls in Manipulate?

Documentation here shows a nice example of interdependent Slider controls in Manipulate: ...
1answer
301 views

### How to Include multiple plots in a single Manipulate [closed]

For example if I had one function Sin[x]/x=c and a second one Cos[x]/x=c than Manipulate for ...
2answers
59 views

### Specifying the PlotRange according to a desired center

I have this plot of $f(x)=\ln x$ and the tangent line at $x=e$, and I'd like to specify the PlotRange so that it's the rectangle with its centroid at $(e,1)$, kind ...
3answers
168 views

### Easy way to bind rect to geometrical 2D line?

I got stuck with the following problem. For some calculation and visualization purposes I need to draw different shapes (like rectangle) with proper slope on custom line. The trivial example: ...
2answers
99 views

### Keeping a plot fixed as one parameter changes in Manipulate

In the following code I'm plotting the contour $f(x,y)=0$ as well as the family of lines $y=mx$: ...
0answers
19 views

### Manipulate inside Module - “Order of evaluation conflicts” [duplicate]

In this example, Manipulate is contained within a Module: ...
1answer
139 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 ...
3answers
165 views

### How should I debug a failed Manipulate of RegionPlot?

I am trying to build a package that will display a sector of an ellipse where the angle is taken from a focus of the ellipse rather than from the center. The code seems to work fine when called with ...
2answers
192 views

### Manipulate a 2D point controlled simultaneously by Locator and its coordinates

I'm trying to have a point in the plane which can be manipulated both using Locator as well as inserting its $x$ and $y$ coordinates. My attempts at doing this are: ...
1answer
75 views

### Set control A to a specific value if control B is ever changed?

I've had trouble with this and issues similar to this in the past, where I need to track when a controlled variable is changed. Basically I have two Sliders (call ...
2answers
132 views

### How to use locally scoped dynamic variables in Manipulate for expression and control parameters

I have a Manipulate that has dynamic variables that I want to use in the displayed expression and use in the parameters for the manipulate controls. I only ...
4answers
141 views

### ToExpression in Manipulate

lets take this small example code: Manipulate[Plot[Sin[x (1 + a* x)], {x, 0, 6}], {a, 0, 100}, Button["a=90", ToExpression["a=90"]]] By clicking the button I ...
2answers
180 views

### How to restrict the motion of a Manipulate-generated Locator along a line?

If one uses a stand-alone locator and needs it to only be movable along a curve, say, defined by a function f[x], one can use a simple construct: ...
1answer
68 views

### How can I get the value displayed by a labeled animator control to read in degrees?

I have thus far: ...
3answers
504 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 ...
3answers
417 views

### Trouble using Manipulate and NDsolve for coupled ODE's

I'm aware that there are a few threads on the topic of solving coupled ODEs using NDSolve and Manipulate. Based on those, I ...
1answer
110 views

### How to control when NDSolve is called inside Manipulate

Let's say I have a function which returns the resulting function of a differential equation solved by NDSolve: ...
1answer
81 views

### Manipulate with a function as a parameter

I'm trying to make a Manipulate command to plot the contour lines of a function of two variables $f(x,y)$. I think I should use the "InputField" option somehow, and I thought of something like this: <...
1answer
69 views

### A single point moving at different speeds through different regions on a plot (Manipulate)

I've been working on this for a while with little success. I have a point (that needs to be connected to a Manipulate control in some way), that moves up the plot ...
2answers
169 views

### Can the increment in Manipulate, Table, Range, etc. be subject to an If statement?

In this demonstration I'm working on, I would like to plot a piecewise function with the tangent line to the function at a point that is determined by c in the code ...
2answers
111 views

### Manipulate executes twice [duplicate]

I need help, guys! Here the script: ...
1answer
93 views

### Grid in manipulate [closed]

I am trying to plot two functions using Manipulate which use the same sliders. When I use Grid to to this the text, "Grid[]" also appears in my output. Using List also causes a similar problem Is ...
0answers
41 views

### Can Manipulate parameters be hidden with an If statement? [duplicate]

I'm making a demonstration with the following code: ...
2answers
1k views

### Manipulating plot of random iterated function system fractal

I'm generating the Sierpinski Gasket by implementing a chaos game in Mathematica. What I'd like to do is create an interactive manipulation with a slider, whereby moving it forward, plots all the ...
1answer
55 views

### How to make autorun stop at the max value?

What should be configured in Manipulate in order to make autorun stop at the max value of a variable and not go back to its initial variable?
2answers
253 views

### Create a moving plot along a parametric plot using Manipulate?

I have been looking through Manipulate examples and haven't been able to create a working plot yet. I have a parametric plot defined: ...