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

1
vote
1answer
44 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 ...
2
votes
2answers
107 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 ...
2
votes
1answer
47 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 ...
6
votes
3answers
85 views

Can I disable specific items in a PopuMenu control?

I have a PopupMenu in a Manipulate with items in it that are inapplicable in some cases, and rather than removing them, I would ...
1
vote
0answers
53 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 ...
-1
votes
1answer
57 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 ...
3
votes
2answers
38 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 ...
2
votes
1answer
63 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 ...
4
votes
4answers
191 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 ...
0
votes
2answers
118 views

how to use InputField function within the manipulate function

I am trying to make a demonstration that can take in a matrix and create a vector field. Currently I have the demonstration all functioning but to define the matrix it uses sliders. I know they cannot ...
0
votes
1answer
30 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 ...
1
vote
1answer
99 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 ...
2
votes
1answer
81 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 ...
3
votes
1answer
89 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, ...
2
votes
0answers
83 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 ...
6
votes
1answer
154 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. ...
4
votes
0answers
67 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 ...
2
votes
1answer
38 views

ControlActive ignores SetterBar

As shown in the following example, ControlActive does not seem to respond to controls such as SetterBar. Moving the slider ...
2
votes
2answers
52 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 ...
7
votes
1answer
1k views

Manipulate (Linux version of Mathematica)

I'm runnning Mathematica 9 on Ubuntu 11.10. After installing CDF player I still have problem (most of time) with Manipulate. Only way I'm able to change value of a ...
0
votes
0answers
57 views

Why is kernel quitting during Manipulate and CurrentImage

I have a Manipulate that captures a camera image using CurrentImage, does some (fairly complicated) processing on the image, and ...
6
votes
1answer
220 views
2
votes
1answer
93 views

How to handle Indeterminate TimeConstrain

I have to use Timeconstrained[aux] first for avoid some bigs calculation that dont need and it use a lot of time of calculate, so i can't do this. ...
0
votes
1answer
38 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 ...
1
vote
0answers
82 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 ...
6
votes
3answers
200 views
2
votes
0answers
81 views

The most simple Manipulate freeze the notebook on v10.1

I realize this won't be a particularly clear question. As I'm not able myself to find a pattern for the problem I'm talking about I won't be able to give enough informations to make it fully ...
14
votes
0answers
116 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 ...
16
votes
3answers
188 views

Resizing or moving Notebook window causes Manipulate to update its argument

Bug introduced in 10.0 and persisting through 10.2.0 Check this example: Manipulate[Grid[{{RandomReal[10]}, {Plot[Sin[x], {x, 0, 2 Pi}]}}], {a, 1, 3}] As ...
1
vote
1answer
47 views
1
vote
1answer
51 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. ...
0
votes
1answer
68 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 ...
3
votes
2answers
91 views

Interdependent Setter controls in Manipulate?

Documentation here shows a nice example of interdependent Slider controls in Manipulate: ...
0
votes
1answer
44 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 ...
1
vote
2answers
54 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 ...
6
votes
3answers
149 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: ...
1
vote
1answer
178 views

Manipulate - Evaluating Value of Function [closed]

I would like to visualize the properties of a threshold, which is a value of a function. Unfortunately, the value is expressed as scientific value (an approximation with 3-5 decimals would be fine) ...
4
votes
2answers
74 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$: ...
1
vote
0answers
15 views
4
votes
1answer
96 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 ...
2
votes
3answers
108 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 ...
3
votes
2answers
77 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: ...
4
votes
1answer
57 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 ...
3
votes
2answers
77 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 ...
2
votes
4answers
113 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 ...
2
votes
2answers
104 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: ...
6
votes
3answers
431 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 ...
1
vote
3answers
160 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 ...