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

7
votes
1answer
984 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 ...
2
votes
2answers
60 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: ...
3
votes
1answer
63 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: ...
3
votes
2answers
50 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$: ...
3
votes
1answer
31 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: ...
2
votes
1answer
79 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. ...
1
vote
1answer
43 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 ...
5
votes
2answers
94 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 ...
6
votes
1answer
91 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. ...
3
votes
2answers
55 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 ...
0
votes
2answers
101 views

Manipulate executes twice [duplicate]

I need help, guys! Here the script: ...
2
votes
2answers
89 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 ...
2
votes
3answers
85 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 ...
0
votes
1answer
32 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 ...
1
vote
0answers
39 views
3
votes
4answers
415 views

How to select interactively datasets to plot with Manipulate

I'm using Manipulate to visualize three datasets: Manipulate[ListPlot[WHAT -> what], {what, {dataset1, dataset2, dataset3}}] Now with this solution I can only ...
7
votes
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 ...
1
vote
1answer
55 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 ...
1
vote
1answer
42 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?
0
votes
2answers
61 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: ...
0
votes
1answer
47 views

Stopping sliders in Manipulate going to dynamic unfeasible regions

I am trying to use Manipulate to create a function which allows a user to play with a probability density. The following generates a static density over the range 2000 - 4000, then allows the user to ...
1
vote
1answer
37 views

Slider with initial value on manipulate [duplicate]

Consider this simple code Manipulate[n, {{n, 3}, 1, 5, 1}] It will produce If we click on Show-Animation-Controls button next to the slider, suddenly the ...
-1
votes
0answers
33 views
0
votes
0answers
28 views

Part of longer code has an error - how can I debug?

Please can someone help me locate the problem? ...
3
votes
3answers
143 views

NDSolve and Plotting

So I am having an issue using NDSolve and plotting the function. So I have two different NDSolve calls in my plotting function. ...
4
votes
0answers
38 views

How to make a button that allow me to control a Manipulate module? [duplicate]

I'm trying to use button that allow me to control a manipulate module. Here's what I did now, it's really simple: ...
1
vote
1answer
80 views

How many arguments does a function require, and how to use that in `Manipulate`

The goal is to vary the order parameters in wavelet transforms in the Manipulate environment. The various transformations have arguments of different rank. For ...
0
votes
0answers
41 views

Cloud deployment of a Manipulate expression

I would like to deploy the following Manipulate function, which works in a Notebook: ...
1
vote
0answers
61 views

Arrange order of evaluations (please help these unit vectors)

I need help to control order of evaluations. Here I try to use Manipulate to control n unit vectors. Their positions are initially random but head left. The 2 operations are 1) translation: moving ...
2
votes
1answer
37 views

Cloud, manipulate based on a external dataset

My question is about creating a Manipulate based on a external dataset (in my private Cloud) and publish it in the Public Cloud. ...
0
votes
0answers
31 views

How to make autorun respect current values of variables?

I want to make a simulation based on a table that is read from a txt file (named xxxx.pose). I've put together the following code: ...
2
votes
1answer
39 views

How to change size of slider in Manipulate?

I have Manipulate function with a few horizontal sliders. When I call ImageSize->Small in Plot within my Manipulate only plot of function is resizing and sliders are still big, so I'd like to make ...
0
votes
2answers
83 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 ...
1
vote
1answer
163 views

Manipulate - Evaluating Value of Function

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) ...
0
votes
0answers
47 views

NIntegrate unexpectedly returns complex number

I am attempting to visualise the effect of shift parameter $\gamma$ on the 3-parameter log-normal distribution. $$pdf(x;\mu,\sigma,\gamma) = ...
2
votes
1answer
136 views
0
votes
0answers
51 views

Isolate graphic components in Manipulate

I have cobbled together two Wolfram Demonstration files to produce the code below. My objective is to generate the phase plane plot on the left side of the output by clicking in one of the regions of ...
4
votes
1answer
52 views

How to feed parameters obtained from direct 3D manipulation back into Manipulate's controls?

Here's a simple example of using Manipulate to interactively change the viewer's point-of-view for a 3D graphics object: ...
1
vote
2answers
92 views

How can I show cursor coordinates as I move the mouse over a contour plot?

How can I show cursor coordinates as I move the mouse over the contour plot in the result displayed by evaluation the following: ...
0
votes
0answers
40 views

Plotting points given by user in a CDF Player Manipulate

I'm trying to make a CDF file that contains a manipulate plot including the graph of a function along with some points input by the user. Here is a toy example: ...
8
votes
2answers
437 views

Interactive Mandelbrot Zoomer?

I want to combine Manipulate with ManbelbrotSetPlot just to get Mathematica to give me a quick and dirty Mandelbrot Zoomer. I want to be able to single/double click on a section, and have it zoom in ...
-1
votes
1answer
51 views

animation of a straightline according to given constraints [closed]

I want to create an animation in which a linesegment of fixed length will move along a straight line(the line segment is attached to the straightline at its mid-point) [i should be able to vary the ...
8
votes
3answers
726 views

Plot3D in Mathematica: how to plot in presence of parameters

I realize I the earlier question was ill-posed. To clarify: I am trying to find the values of $A$ and $B$ that will maximize a function f on the domain ...
1
vote
1answer
34 views

Variable name with subscripts in Manipulator[], is it possible?

I'm trying to create a variable in Manipulate[] with a subscript in its name with the following code: ...
2
votes
1answer
78 views

How to create a smile animation in Mathematica?

I want to create a yellow smile, with normal mouth which smiles in cycle. I only know that I need to use CDF player and Manipulate, but do not have any idea how to do that. Thanks!
0
votes
1answer
88 views

Manipulate Solve

I have seen similar questions and answers but it did not help me. I would like to see effects of three constants in equations resulted from solve command. conditions are ...
9
votes
3answers
456 views

How to use Locators on a graphic in a tabview

Background: I want to split graphics in a Manipulate in several parts in a tabview control. But the tabview somehow interferes with the locators as in the following simplified example: ...
0
votes
2answers
182 views

Performance Issue When Using Manipulate

Any help would be appreciated! I've been attempting to manipulate the graphics for time t. We need to have Di set to 11.2, however when it is set to any value greater than .1, we see a great deal of ...
2
votes
0answers
42 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 ...