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

2
votes
1answer
108 views

Resetting an animation with a custom button

I have the following code, which accepts a function via an InputField, and then gradually draws that function in a Plot using ...
2
votes
1answer
53 views

`Trigger` autorunning when not supposed to

Recently I was trying to make something where one could vary the parameters and press play to see how the animation changed. However, when I tried running the code it would just start automatically. ...
2
votes
1answer
102 views

semantics of `ContinuousAction` on a slider. Mouse release

I needed to make 2 slider inter-dependent. Slider b in this example can't be larger than slider a. When I move slider ...
2
votes
1answer
121 views

Using ToExpression within Manipulate

I would like to use ToExpression (or Symbol) within Manipulate. Specifically, when running ...
2
votes
1answer
82 views

Slide show - how to autorun manipulate

Is there a way to automatically run a manipulate command when you move to a slide ? I am trying to create a presentation and i have a number of slides which have use manipulate and i want these to ...
2
votes
0answers
88 views

Strange double evaluation using MorphologicalGraph

(MMA 9.0.0 on Mac OS/X 10.8) Please consider the following snippet (this is as SMALL as I could make it -- my attempts at making a smaller repro-case eliminated the effect that I am investigating) ...
1
vote
3answers
92 views

Sync Animated Plots

Here is my Lorenz code: ...
1
vote
2answers
96 views

Manipulate: SetterBar with list of functions

From the documentation: Manipulate[Plot[f[x], {x, 0, 2 Pi}], {f, {Sin, Cos, Tan, Cot}}] How do I include a function like $1/x$ or $x^2$, etc. in that list? I ...
1
vote
1answer
69 views

Adding another control to Manipulate[MatrixPlot[matrix]] to take specific part of matrix

I got matrix, let's say, 100 rows and I would like to plot only 10-rows window of it. Is it possible to add a slide control to Manipulate[] window so to shift 10-row "window" interactively? I trying ...
1
vote
2answers
175 views

Controlling the speed of Manipulate animations exported to SWF

I would like to export in .swf a "Manipulation" output. I am using ...
1
vote
2answers
86 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
3answers
106 views

Control maximum value of a slider with another control

Is it possible to make $y_{max}$ of Slider[y, {$y_{min}$,$y_{max}$}] depend on another control? For example, I have three variables (Time, Type1, Type2). I want a drop down box for the user to ...
1
vote
1answer
109 views

Initialization Time Out (Weighted Financial Data)

I've been playing with WeightedData and wanted a financial engineering example, a colleague suggested working with the fractional return (...
1
vote
1answer
142 views

Why doesn't my Manipulate work?

I am new to Mathematica and reading my way through a few books. Playing around with Manipulate and I noticed the following does not work: ...
1
vote
2answers
129 views

How to make a Tooltip display dynamic based on a parameter value?

If k=3, then I would like the following to say "Sine Curve, k=3" when you hover over the output of the Tooltip command: ...
1
vote
2answers
273 views

Manipulating PlotRange

Currently, I am working with some dynamic simulations of mechanical/electrical systems (in this case a kitchen scale). The main simulation is running smoothly but while building a nice GUI around the ...
1
vote
1answer
60 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 ...
1
vote
3answers
91 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 ...
1
vote
2answers
73 views

ControlsRendering and operating systems

Controls, such as those appearing in Manipulate constructs, are by default rendered depending on the operating system. Wrapping everything in ...
1
vote
2answers
220 views

Combining manipulated plots

Let's say I have two manipulated plots: Manipulate[Plot[Sin[a x], {x, 0, Pi}], {a, 0, 10}] Manipulate[Plot[Cos[b x], {x, 0, Pi}], {b, 0, 10}] How can I create a ...
1
vote
2answers
115 views

How can I crop manipulator from a plot

I wanted to know how can I crop a Manipulator from a plot. the code for plot is ...
1
vote
1answer
74 views

Changing the number of locators with SetterBar

Typically when adding locators I would use a button i.e. something along the lines ...
1
vote
1answer
234 views

Increasing number of decimal places in Manipulate input

I've made a Manipulate app. in Mathematica where I vary the value of a function f(a) by varying the parameter a. However, I seem to only be able to edit my input for a for a value up to 5 decimal ...
1
vote
1answer
246 views

Locators and Table within a Manipulate are not behaving

I am putting together a Manipulate on vector addition for my intro physics class and everything works well except when I include a Graphics that has a Table within. The code is below. There are three ...
1
vote
1answer
48 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 ...
1
vote
1answer
55 views
1
vote
1answer
97 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 ...
1
vote
1answer
143 views

Manipulate indexed Interpolating Functions

MWE I have some data indexed by gamma. For each gamma I want to find the intersection points of two lists and plot the lists ...
1
vote
0answers
80 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
0answers
118 views

Manipulate (linux version of Mathematica)

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

Is this a bug in ListPicker?

I use Mathematica v9.0.1 Home Edition. I recently modified some code to take advantage of the ListPicker Manipulate control (new ...
1
vote
0answers
123 views

Teaching integer addition [closed]

I'm working with math 7 students and teaching integer addition and subtraction. The "rules" are easy, but the idea in many school districts (valid I think) is to have students experiment and develop ...
1
vote
0answers
162 views

Adding a Parabola to a Catenary in Plot with the same Length [closed]

I wanted add a Parabola to my Manipulate/Plot, that have the same length and the same hanging points as the Catenary, so that when I Manipulate(Modify) the position of the Points A and B of the ...
0
votes
3answers
125 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 ...
0
votes
1answer
75 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 ...
0
votes
2answers
45 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 ...
0
votes
1answer
67 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 ...
0
votes
1answer
51 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 ...
0
votes
1answer
101 views

Manipulate[]'ing complex roots of an equation using a 2D slider [closed]

I want to make a demonstration of how the complex roots of a polynomial change when I alter the coefficients. Here is my attempt: ...
0
votes
1answer
79 views

How to generate new random numbers in a Manipulate only on demand?

I was playing with a Manipulateto visually compare calculating the mean of Normal and Cauchy random data. ...
0
votes
0answers
37 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 ...
0
votes
0answers
45 views

How can I import sound from within a Manipulate expression?

I want to import sound from a file, record, and import sound. ...
0
votes
1answer
55 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 ...
0
votes
0answers
25 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
0answers
53 views

Manipulating output from Solve

I have two systems of equations Linear in $A_i$ System 1 $\sum_{i=1}^{4} A_i F_{a1i}(H_1,H_2,H_3,H_4) = G_{a1}(H_1,H_2,H_3,H_4) \\ \sum_{i=1}^{4} A_i F_{a2i}(H_1,H_2,H_3,H_4) = ...
0
votes
0answers
60 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: ...
0
votes
0answers
168 views

Alignment and Plot size problem in PopupMenu

I have three plots in an OpenerView named "PopupWindow", "MouseOver" . ...
-1
votes
1answer
95 views

Manipulate code creates error messages when file is opened

When I open the file containing the following code I get a series of error messages. Once I evaluate the cell with the code the error messages disappear. What is Mathematica doing when it opens a ...
-1
votes
1answer
66 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: ...
-1
votes
1answer
209 views

Speed Up SphericalPlot3D

I was wondering if I could speed up SphericalPlot3D? I tried editing PlotPoints, and ...