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

3
votes
1answer
84 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
1answer
41 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: ...
1
vote
1answer
47 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
106 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 ...
0
votes
2answers
103 views

Manipulate executes twice [duplicate]

I need help, guys! Here the script: ...
0
votes
1answer
35 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
40 views
3
votes
4answers
449 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
44 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
68 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
52 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
51 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 ...
0
votes
0answers
29 views

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

Please can someone help me locate the problem? ...
3
votes
3answers
147 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
40 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
88 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
53 views

Cloud deployment of a Manipulate expression

I would like to deploy the following Manipulate function, which works in a Notebook: ...
1
vote
0answers
64 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
44 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
34 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
41 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
0answers
51 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
141 views
0
votes
0answers
53 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
62 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
113 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
45 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
446 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
54 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
775 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
36 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
84 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
104 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
461 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 ...
14
votes
2answers
280 views

SaveDefinitions->True changes the displayed image

Bug introduced in 9.0.1 or earlier and persisting through 10.1.0 or later I have a Manipulate[ ] that displays an image with a superimposed ...
1
vote
1answer
75 views

Continuation of a Problem with Manipulate

For the beginning of this discussion, see: A problem with Manipulate. Now, the final use of the Initialization command doesn't protect the Global workspace. What I am discussing is not a single ...
2
votes
1answer
78 views

How to hide and show graphics within Show[] function (in Manipulate wrapper)

There is a well documented way to "Dynamically Hide and Show Plots" (link). In the example 'Opacity' option is effectively used. Is there an efficient way to make the same functionality with "Show"? I ...
1
vote
0answers
75 views

Manipulate - 3 sliders for a list of 3 elements [closed]

I'm trying to create a slider for a list of 3 elements. I know that I can create a 2D slider for a list of 2 elements and it's impossible to create a 3D slider for a list of 3 elements. So, I just ...
3
votes
3answers
125 views

Using NDSolve within Manipulate

I'm trying to use NDSolve inside manipulate. Specifically, I have a series of differential equations with coefficients, k1, k2, ...
0
votes
1answer
34 views

About Manipulate : How to make this work properly?

Manipulate[ Plot[PDF[NormalDistribution[mu, sigma], x], {x, -4*sigma, 4*sigma}], {mu, -10, 10}, {sigma, 0, 10} ] I got the following error:
4
votes
2answers
96 views

How to conditionally combine a RegionPlot3D with a ContourPlot3D inside a Manipulate?

I know how to combine a RegionPlot3D and a ContourPlot3D, which I did (see below for details on the code I'm referring to) with ...
6
votes
1answer
260 views

Compiling a function that takes lots of optional arguments

I have a function that takes lots of optional arguments (basically some design parameters, about 10 of them) and performs some basic algebraic calculations involving complex numbers with the options. ...
0
votes
1answer
53 views

Adding circles on a function plot depending on the slope

I have the following function and I use manipulate to change the plot of the function and the integral respectively. In nonlinear dynamics one plots a little circle/point on the intersections of the ...
2
votes
1answer
57 views

How can I mark a point on a slider control?

I have a Slider control inside a Manipulate which spans some range of values, say from 0 to 10, like in: Manipulate[ Sin@x, {x, -2 Pi, 2 Pi} ] I would like ...
0
votes
0answers
41 views

Standalone cdf with precalculated result

I'm wishing you a nice day. I needed some interactive plots so I used Manipulate. My function is function of several parameters, let's call it $f \left( L, \Gamma, ...
0
votes
1answer
150 views

How would I use sliders to manipulate the slope and intercept of a plane in a graphics 3d box while the cdf was running

Would I link a slider value to a polynomial that represents the plane and draw it in the draw plane a function, Or, is there a way that would allow me to have sliders in the draw plane function ...