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
2answers
294 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
132 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
484 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
238 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
160 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
148 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
203 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 ...
3
votes
2answers
183 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
265 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 ...
3
votes
1answer
126 views

What is the equivalent of TogglerBar that will work with Manipulate? [closed]

I use this code to pass on options to a custom function: ...
1
vote
3answers
213 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
91 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
166 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 ...
3
votes
1answer
636 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 ...
6
votes
3answers
368 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
221 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
151 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
93 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
162 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
113 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: ...
3
votes
1answer
142 views

Manipulate for probability distribution with multiple parameters, kernel smoothing

I'm looking to use the Manipulate command to take a distribution with multiple parameters (e.g., mean and sigma for the normal), generate some variates, then plot ...
4
votes
1answer
106 views

How can I highlight the vanishing-partials in an interactive 3D plot?

I am using Manipulate and Plot3D to plot a function with two real variables and two extra parameters. ...
3
votes
1answer
369 views

Exporting a Video of a Simulation of Pendulum Motion

In a series of previous questions, I asked how to solve a series of differential equations describing a series of coupled pendulums, and then how to plot this data by coloring the different pendulums. ...
3
votes
2answers
220 views

In a Manipulate[], control timing of Autorun

I've made a gauge like instrument that will get used to prompt someone to maintain rhythmic breathing patterns during heart/brain coherence training. ...
7
votes
1answer
137 views

Can I set 'no-go' values in a Manipulate slider?

Is it possible to easily modify a Manipulate such that the slider automagically skips certain values? For example, say I am plotting an equation that's perfectly ...
3
votes
1answer
110 views

Controlling margin around PlotLegends

Here's my code: ...
1
vote
3answers
158 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 ...
3
votes
2answers
217 views

Why does the syntax highlighter color a local symbol red inside DynamicModule?

I am adding a Module inside DynamicModule here is an example (thanks to @rm-rf for this simple example) ...
5
votes
5answers
606 views

Subdividing a polygon , equivalent fractions

I see that I was a real "doofus" here and my original question was flawed. You can't divide a polygon like you can a circle or a rectangle, except in special cases... I should have seen that right ...
5
votes
1answer
163 views

How to stop Manipulate changing view point

When using the following manipulate I can rotate the plot and manipulate the value without my view point changing; ...
7
votes
6answers
568 views

Manipulate and Turning Expressions into Functions

I've been trying to use Manipulate to do interactive plotting, but I've been running into a few problems with saved expressions. I have an expression saved as "func" and I want to work with it and ...
12
votes
1answer
279 views

Using a MacBook's builtin sudden motion sensor with Manipulate

With the following code I can get the value of the "Sudden Motion Sensor", which is build into MacBooks: ...
5
votes
4answers
263 views

Manipulate flickering and consuming lots of CPU

I am new to Mathematica and was experimenting with a simply problem of plotting a tangent to a curve and being able to move the point at which the tangent is drawn using ...
2
votes
0answers
107 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) ...
2
votes
1answer
256 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
2answers
191 views

Manipulate - why does the axis scale change when I release the slider?

I was playing around with Manipulate to demonstrate simple geometric idea of conic sections and put this little sample together. When i move the slider it moves my plane, which is what I expect. ...
4
votes
2answers
525 views

Moving From Dynamic Module to Manipulate

In trying to implement Vitaly's suggestion about how to take control of Locator events, I have been able to make headway using ...
1
vote
1answer
228 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 (...
2
votes
1answer
203 views

Using ToExpression within Manipulate

I would like to use ToExpression (or Symbol) within Manipulate. Specifically, when running ...
1
vote
2answers
183 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
340 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: ...
2
votes
1answer
173 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 ...
5
votes
2answers
157 views

How to present a Graphic and a Table in close proximity to each other

Often, with a Plot or within Manipulate I want to display a graph and, in close proximity to it, a table showing the results of ...
2
votes
3answers
229 views

How to Dynamically Locate (get coordinates) of a point, inside a Manipulate?

I've been searching all around the "Documentation Center" and other forums and just can't get to solve this issue. I'd like to dynamically locate a point (get it's coordinates) inside a Manipulate. ...
8
votes
5answers
483 views

How to save Manipulate bookmarks permanently?

I would like to save current Manipulate parameter values to load them again later. Bookmarks (previously discussed here and here) work fine until the cell is ...
-1
votes
1answer
142 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 ...
0
votes
1answer
161 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: ...
16
votes
3answers
314 views

What does None mean in a control specification for Manipulate?

I am now struggling to understand code that contains the following (simplified) Manipulate structure. ...
8
votes
5answers
397 views

Manipulate Exp[I θ]+b Exp[-I θ]

I've uploaded an image showing a demonstration I'd like to create, but I definitely need help. There is a lot of talent on this list, so maybe someone can help me get started learning how to add ...
2
votes
1answer
203 views

is it possible to modify BaseStyle of Manipulate dynamically?

I can't decide what is a best color for the background for a Manipulate I am writing. So, I thought since this is Manipulate, why not make this part configurable as well, so one can change the RGB ...