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

4
votes
2answers
481 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
199 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
188 views

Using ToExpression within Manipulate

I would like to use ToExpression (or Symbol) within Manipulate. Specifically, when running ...
1
vote
2answers
154 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
297 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
149 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
154 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
205 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
433 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
136 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
151 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
298 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
381 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
191 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 ...
1
vote
2answers
197 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: ...
2
votes
2answers
270 views

How can I control the behavior of a Manipulate with check boxes and radio buttons?

I've been stuck for a long time on this problem, and I really would appreciate if somebody helps me move in the right direction. I have two functions and each can take one of two forms. I am ...
2
votes
2answers
87 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
1answer
115 views

Changing the number of locators with SetterBar

Typically when adding locators I would use a button i.e. something along the lines ...
2
votes
1answer
97 views

hyperlink in label

In a FrameLabel for Manipulate, I would like part of the string to be a hyperlink. Is this possible? I have tried various things ...
4
votes
1answer
149 views

“Show” with Manipulate runs fine normally, but gives errors as a CDF

I've simplified my code to what can reproduce my error. Basically, I have two lines: ...
7
votes
3answers
186 views

Is there a way to continuously update only *some* variables in Manipulate?

I have a Manipulate control, the main element of which is a single slider. Moving the one slider triggers calls to two functions - one which is evaluated very quickly, the other more slowly. I'd like ...
1
vote
2answers
413 views

Controlling the speed of Manipulate animations exported to SWF

I would like to export in .swf a "Manipulation" output. I am using ...
7
votes
1answer
188 views

Can I select or implement a Manipulate bookmark from an arbitrary control?

I understand how I can select a bookmark from the "+" menu of a Manipulate. Is there a way to select a bookmark from an arbitrary control, or define a control that ...
15
votes
1answer
191 views

Putting large amounts of data inside a self-contained Manipulate

This is half tip, half question. If one tries to put a large amount of data inside the Initialization:>(code) part of a Manipulate, as one may be compelled to do in a Demonstration or where one wants ...
4
votes
4answers
139 views

Make a slider controlling a generated character's code value

If I execute the following code: char = 97; Slider[Dynamic@ToExpression@FromCharacterCode@char, {0, 5}] the slider will fail to change the value of ...
4
votes
2answers
287 views

Label names within Manipulate with ControlType->RadioButton

I modified an example from the documentation to have a RadioButton control over a specific list of values: ...
1
vote
1answer
79 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 ...
9
votes
2answers
238 views

Localizing variables within a Manipulate

I have a notebook with several examples of very similar computations, each involving the same variable/parameter names of the ingredients used in a final ...
1
vote
1answer
121 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. ...
4
votes
2answers
138 views

Vertical RadioButtonBar in Manipulate

I want to make a vertical RadioButtonBar in Manipulate. So far I only have a workaround that looks like this: ...
6
votes
3answers
284 views

Locators in Manipulate not moving properly

I thought a simple Mathematica kerning machine (for adjusting the space between characters) would be interesting, but I'm having trouble with the locators. (There are a number of other questions ...
6
votes
1answer
307 views

Placing Manipulate controls in multiple columns

I have a Manipulate construct with a square Graphic on the left side and all the controls placed on the right side. There are so ...
9
votes
2answers
217 views

Dependent Manipulate sliders

I would like to use dependent sliders in Manipulate. First slider K0 should be independent and varied from ...
2
votes
2answers
144 views

Updating a tracked symbol inside Refresh?

I have some code inside a Manipulate, whose goal is to allow the user to edit the upper half of the matrix while keeping it symmetric at all time. The minimal code ...
2
votes
1answer
301 views

Cournot Equilibrium

I'm trying to determine reaction functions of a Cournot equilibrium for $n$ firms using the same optimal condition, using the fixed point method. This is the method I'm using: ...
1
vote
2answers
472 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 ...
3
votes
1answer
148 views

Manipulate and FileNameSetter don't want to play nice together

In a Manipulate, one can specific the type of an individual control like so: Manipulate[v, {v, Red, ColorSetter}] I tried to ...
6
votes
2answers
154 views

Why aren't the locators independently enabled/disabled?

I am wondering why the Enabled setting for the first locator (point1) overrides the Enabled setting for the second locator ...
2
votes
1answer
169 views

Plotting a dot product

From a conic equation obtained from a dot product, I want to plot its 2D graph, while being able to manipulate the variable. ...
6
votes
1answer
252 views

Using more than one set of Locators in a Manipulate

I need to add locators dynamically to different sets. With one set this works OK: ...
5
votes
1answer
139 views

How can I restore context menu functionality to a Manipulate that contains Locators?

Before adding a Locator to a Manipulate, I can easily print or export the result using a context menu: But after adding a ...
7
votes
1answer
563 views

How to eliminate the backward play in Export of Manipulate?

I find that the Export of Manipuate contains backforward play, see a simplified example: ...
6
votes
1answer
328 views

How do I constrain the region where I can drag a Locator?

How do I constrain the region where I can drag a Locator to conform to rules, including rules that apply to computations resulting from the value of the ...
6
votes
2answers
237 views

A command for outputting a list of parameter values in a Manipulate interface

I am looking for a command that will output a list of values that correspond to the current parameter values manually set on a particular Manipulate interface. For ...
3
votes
1answer
199 views

How can I independently move vector components (in 2D)?

Here's what may well be a simple problem that I have been having difficulty with: There are two connected vectors, v1 and v2, such that: v1 begins at the origin and and ends at point a1 v2 begins ...
5
votes
1answer
320 views

Enabled option for slider in Manipulate not updating dynamically

In a Manipulate expression I have a slider control which has the Enabled option ...
3
votes
2answers
741 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 ...
4
votes
1answer
187 views

Automatically expanding sliders in Manipulate

Is there some way to have all sliders expanded by default in a Manipulator object, i.e. as if I had clicked all "+" signs?
6
votes
1answer
176 views

How can I have interruptible computations inside a manipulate?

Here's a perfect example of my problem: Manipulate[Pause[n], {n, {1, 10}, ContinuousAction -> False}, SynchronousUpdating -> False] It is illustrated by ...
4
votes
4answers
281 views

Manipulate with explicit updates

I want to use Manipulate (I am open to other alternatives) to apply one of two different functions f or ...