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

0
votes
1answer
200 views

Brownian Motion with stopping threshold

I just want to generate one stochastic process, whereas I want to be able to manipulate the start value and the volatility. Furthermore, the process should stop when it reaches 5 However, as soon as ...
2
votes
2answers
198 views

Restarting an Animate animation after variable in Manipulate changes

I've been trying to restart an animation after variables change from Manipulate PopUpMenus. My animation takes the form: ...
2
votes
3answers
284 views

Introduction of straight Line into Manipulate function

I just want to implement a line within my chart that starts from time point 0 to time point T and whose y-coordinates can be manipulated, which in my case is represented by D. I tried to implement a ...
1
vote
2answers
156 views

How to maintain a smooth surface in CDFs while playing? [duplicate]

I created a CDF for viewing the Möbius Band, and its generation. https://www.dropbox.com/s/e3af0xelbbqjfhd/Cinta_Moebious_Rafa.cdf But: 1.- When it´s PAUSED the surface is soft and you can see with ...
3
votes
1answer
172 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 ...
0
votes
1answer
71 views

Item Resizing when using Locators

I am having some difficulty in resizing a Stream Plot when using locators: Whenever I try to resize the Stream Plot, one of the locators instead moves to the cursor. ...
3
votes
2answers
135 views

I want to change the outer background color of a manipulated plot

I downloaded some demonstrations' sources (for example) and I want to change their colors. I am only stuck with the white outer background that is around the plot's yellow background. I would like to ...
1
vote
0answers
60 views

Abridging Lists of Equations within NDSolve, Manipulate [duplicate]

I have a pretty little NDSolve function that I've finally decked out with manipulatable (by sliders) coefficients, which changes the graph in real time. However, I ...
6
votes
2answers
753 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 ...
3
votes
1answer
182 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.: ...
0
votes
3answers
151 views

Evaluation in Manipulate [duplicate]

I have an expression assigned to a variable. For example: exp1 = a*x+b Now I would like to plot it using something like this ...
9
votes
2answers
555 views

Simple problem with Manipulate and Plot

Would anyone have an idea why the following doesn't work: rule = {z -> x^2 + 2 x + y}; Manipulate[ Plot[z /. rule, {x, 0, 10}], {{y, 2, "y"}, 1, 5} ] But ...
4
votes
1answer
482 views

Track object movement

Referring to this link I happen to realize that actually the trace being projected is dependent on an equation and not on disk or circle. Though I was presuming that it is getting traced because of ...
1
vote
3answers
163 views

Sync Animated Plots

Here is my Lorenz code: ...
0
votes
1answer
299 views

How to manipulate a Fourier sine series?

I would like to plot the Fourier sine series for $f(x) = x$. I would like to manipulate the parameter n from $0$ to $10$ and plot the sine waves over $(0,1)$. My ...
3
votes
3answers
731 views

Plotting heat equation in a Manipulate expression

I have a 2D heat equation $u_t = \alpha (u_{xx} + u_{yy})$ with conditions: $u(x, y, 0) = 300$, $u_y(x, 0, t) = \mu_1(x)$, $u_y(x, 1, t) = \mu_2(x)$, $u(0, y, t) = \mu_3(y)$, $u(1, y, t) = ...
4
votes
3answers
158 views

How to dynamically change the Appearance of a control in Manipulate?

How can I dynamically change the appearance of b? Strangely it works for the Enabled state but not for the Appearance. Thanks. ...
1
vote
1answer
138 views

How to track dynamically generated manipulators?

In the code below the manipulators that are generated from the stakes buttons are not tracked by the Manipulate expression that contains them. How can I make the ...
2
votes
1answer
102 views

Help generating dynamic manipulators?

I would like to generate dynamic Manipulators for each of the selected buttons in a ToggleBar. How can I keep the state of each Manipulator in a variable? I would like to later access the values of ...
7
votes
2answers
244 views

How to set the slider width inside Manipulate

I use the code below to visualise the connection between a sine curve and the unit circle, but would like to make the slider wider, so it has at least almost the same with as the image. I have tried ...
0
votes
2answers
952 views

How to manipulate plot range with fixed axes

I want to achieve something like this Manipulate[Plot[Sin[x], {x, 0, r}, PlotRange -> {{0, 10}, {-1, 1}}], {r, 0.1, 10}] but my function in place of ...
1
vote
2answers
162 views

Manipulate keeps replaying the animation non-stop

I made a notebook with the following code, but for some reason when I evaluate it it keeps replaying repeatedly. What is causing this? Thanks. ...
1
vote
1answer
336 views

how to show value of y-axis value using manipulate to select x-axis value

How to add a slider for the x-axis that shows the value of the y-axis based on the position of the slider. Basically providing the result of the probably given a specific lot percent defective, lpd ...
0
votes
0answers
49 views

manipulate: time limit on calculations [duplicate]

I'd like to disable the 5 second time limit in the manipulate construct. I read about setting SynchronousUpdating -> False But for some reason this does ...
1
vote
1answer
130 views

How can I import sound from within a Manipulate expression?

I want to import sound from a file, record, and import sound. ...
4
votes
1answer
202 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 ...
1
vote
1answer
93 views

Using Manipulate Feature for Two ODE's

So I have not been able to find any examples of the Manipulate feature for two ODE's. I would like to plot a graph of x[t] vs. y[t] and manipulate the initial conditions, v and theta. Thank you very ...
12
votes
3answers
487 views

Simulate a simple spinner

I'm teaching some simple ideas in probability to students in grade 7. The "spinner" below works, but I'm wondering how I could make it just a bit more realistic by having it actually "spin" around a ...
0
votes
0answers
29 views

Error in extracting a column [duplicate]

I imported excel data to Mathematica using this command. kuruzD = Import[ "C:\\Users\\TMH\\Documents\\Problem Set 4\\kuruzData.xlsx"][[1]] //TableForm I want to ...
0
votes
1answer
262 views

DataRange problem in a ListLinePlot within a Manipulate

I'm trying to create a simulation of a set of lists with Manipulate[] and ListLinePlot[]. However, as my simulation starts with ...
3
votes
1answer
66 views

Restricting a plotted expression to reals in a Manipuate

I have an expression from which I'm trying to create a plot that I can manipulate. The expression contains Abs, and I only want to have it evaluated for reals. What ...
2
votes
2answers
337 views

How to prevent errors in Manipulate with ListPlot when a result is an empty list?

I am trying to plot two lists, where one is the reference list, and the other is only used to select and highlight the first list. Basically, I want to use the selection list ...
1
vote
0answers
147 views

Manipulate - Flickering graphics

I am new to mathematica and was experimenting with NDSolve and doing a simple demonstration of orbital motion and Newtons laws. I put together the following code which all seems to work except the ...
1
vote
1answer
628 views

Use Results from Manipulate Plot NDSolve to create another plot versus variable used in DE

I created my plot using using this input: ...
4
votes
3answers
274 views

How to control the speed in Manipulation

As the title says, I want to control the speed when I use Manipulate. I have the following piece of code ...
-3
votes
1answer
171 views

How can you show data in a CDF Animate Graphic?

I want to show (dynamically) the curvature and torsion in a CDF to understand the quantitative measure of any points. Do you know what I have to do to show data in a ...
2
votes
1answer
175 views

Combining two notebooks

I have a notebook which contain all the variables and defined functions. I want to do two tasks. As an example, I want to find the density and energy which have equations in terms of above mentioned ...
1
vote
3answers
253 views

Tangent to a circle

I am trying to show vector of fixed length which is the tangent to a circle which rotates. Any suggestions on how to simplify this ? My question is not about using Manipulate etc but more is there an ...
4
votes
2answers
194 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: ...
5
votes
2answers
291 views

How to dynamically update Locator[] constraints?

I need to visualize Menelaus' theorem for a triangle with moving locators for each of six points. So the vertexes of the triangle can move in any possible way, and the three points on the sides of the ...
1
vote
3answers
254 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 ...
2
votes
1answer
100 views

How to relate setter buttons with equations

I want to relate or connect a setter bar with a set of equations to graph them. ...
2
votes
3answers
170 views

Manipulate fails with f[x]=x^k/(1+x^k)

I have this code: Clear[f] f = Function[x, x^k/(1 + x^k)]; Manipulate[Plot[f[x], {x, 0, 5}], {k, 1, 10}] But nothing draws as I move the slider. Am I missing ...
5
votes
1answer
788 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 ...
7
votes
3answers
487 views

How to use custom Dynamic inside Manipulate

I was wondering if it is possible to use a custom Dynamic[var, function] inside a Manipulate. The reason for the need is this: ...
11
votes
2answers
249 views

SaveDefinitions->True changes the displayed image

I have a Manipulate[ ] that displays an image with a superimposed Locator object. It works fine when I have ...
1
vote
1answer
178 views

Manipulate not accepting default values

I have pasted my Mathematica code below. For some reason, the default value for h, or Δx, while set to 4.5 in the code, keeps displaying at -4 instead. I have been over and over this example, and I ...
0
votes
1answer
100 views

Possible to use Manipulate in GUIRunModal?

Is it possible to use the widget created by Manipulate within GUIRunModal? I intend to run the file using ...
1
vote
1answer
191 views

Use of Manipulate in CDF documents

I am trying to publish a cdf document, but I'm having some problems with the function Manipulate with this code: ...
-1
votes
1answer
116 views

Dynamically show a specific number of the fractional part's digits

What is the fastest way to cut off all n z digits of the fractional part of a real number? (For example 12390.20934230) I came up with this so far: ...