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
91 views

Specifying a PopupMenu in a Manipulate expression

In my previous question here, I had a problem with showing GeoGraphics in a CDF document, but thanks to other users, I was able to solve it. But the code I wrote to test my work gave an error. I tried ...
0
votes
3answers
194 views

Speed up manipulate by exporting each step as an image

Consider a manipulate function such as: ...
11
votes
3answers
690 views

1D quasicrystal: points on a line nearest to points on a lattice

I have a simple lattice / line manipulation: ...
7
votes
1answer
211 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 ...
23
votes
2answers
605 views

Better way to visualize cylinder puzzle solution

The above puzzle has been a recent source of amusement in my clique. I decided to provide a visualization to motivate solution (here): My code: ...
18
votes
2answers
1k views

How can I set the speed of manipulate play button?

Can you set the speed at which a Manipulate plays when the play button is clicked?
9
votes
3answers
562 views

Interdependent controls in Manipulate [duplicate]

Possible Duplicate: How to create interrelated sliders? locking a value when manipulating variables I need to create a Manipulate with two control ...
10
votes
2answers
355 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 ...
20
votes
3answers
833 views

Change the color of a Locator in a Manipulate

How can I change the color of a Locator in a Manipulate? As an example, consider the following. ...
13
votes
3answers
261 views

Selective evaluation of blocks of code in a Manipulate

Is it possible to attach certain pieces of code to certain controls in a Manipulate? For example, consider the following Manipulate ...
11
votes
1answer
244 views

Manipulate[] inside DialogInput[]

I would like to get input from an interactive dialog that uses Manipulate[]. But I find that my Manipulate[] breaks when I put ...
9
votes
4answers
359 views

Interactively inspecting parts of an object

There have been times when I want to find the structure of an object in order to extract some part of it. For example, extracting the x and y coordinates from a Graphics object generated by Plot. I ...
9
votes
3answers
500 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: ...
7
votes
2answers
287 views

Moving controls from Manipulate to a Palette ( or similar GUI object )

Consider the following snippet as a reference. ...
13
votes
1answer
188 views

Manipulate not working inside DialogInput

Some controls do not appear to work with Manipulate inside a DialogInput. For example: ...
11
votes
6answers
1k views

How to set precision and format labeled Slider in Manipulate?

For my calculations, I need increased precision of parameter k in my Manipulate: ...
10
votes
2answers
231 views

Synchronizing the camera view of multiple Image3D panels within a Manipulate interface

I'm trying to synchronize the camera view of multiple Image3D panels displayed within a Manipulate interface. A random 3D image ...
6
votes
1answer
501 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 ...
5
votes
1answer
458 views

How do I dynamically change Manipulate controls?

What I'd like to be able to do is dynamically change the axis of a 3D plot inside a manipulate. For example if I have a function that has three input variables I'd like a 3D plot using 2 of the ...
4
votes
3answers
532 views

Slow image manipulation

This is some extremely simple code that shows an image and manipulates a circle (that will be used to select a region of the image to analyze). All those Dynamics ...
2
votes
2answers
892 views

Dynamically choosing which Manipulate controls to use

I have some stuff I would like to manipulate, using two different kinds of control, one at a time, using another variable as a switch. These controls are similar in principle to ...
13
votes
1answer
518 views

Can Manipulate controls have the option Appearance -> “Labeled” by default?

I was wondering if there's a way to tell Mathematica to use the option Appearance -> "Labeled" for all Manipulate commands by ...
12
votes
3answers
403 views

What is an efficient way of selecting multiple colors via Manipulate?

Background: The following snippet is what I (intend to) use in a Manipulate form where up to 12 different colors can be selected: ...
10
votes
4answers
363 views

Panning with Mouse

This is related to the question i just asked here but not the same. How could i create a manipulate that lets me move the graph to any position i want by clicking and dragging anywhere. Here is an ...
9
votes
2answers
1k views

How can I animate a set of points imported from file?

I have an external program which generates a set of data - X points at the time t1, X points at the time t2 and so on. These points are stored in CSV file and I can change the format if necessary. ...
8
votes
3answers
787 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: ...
8
votes
5answers
766 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 ...
8
votes
1answer
504 views

Stopping Evaluation of Manipulate after it goes through once

I do quite a bit of textual analysis with Mathematica, and am currently making some Manipulate objects to walk people through key terms in the database. One issue ...
7
votes
3answers
235 views

Panning by moving Origin (0,0) with Mouse

Given a 10 by 10 grid like the one below and the axis origin somewhere on the grid, I would like to be able to place the mouse pointer at the axes origin (0,0), then press and hold the mouse button ...
7
votes
3answers
871 views

For[] or While[] can't be used inside Manipulate[]?

Here is a code sample that creates a control object which calculates the expressions inside Maniplate again and again and never stop (it's proved by the code in the ...
6
votes
3answers
136 views

Can I disable specific items in a PopupMenu control?

I have a PopupMenu in a Manipulate with items in it that are inapplicable in some cases, and rather than removing them, I would ...
6
votes
1answer
443 views

Pink Manipulates in stand-alone cdfs

Here is a simple example: Manipulate[Plot[Sin[2 Pi f t], {t, 0, 10}], {f, 0, 5}] This makes a plot with a sine wave of varying frequency determined by ...
6
votes
2answers
595 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 ...
6
votes
2answers
197 views

Control which variables get embedded inside Manipulate

While trying to analyse several different datasets I got what I thought was a good idea: define a "function" that returns a Manipulate object. But this has some ...
5
votes
3answers
407 views

Switching among view points in a Manipulate expression

Edit: Some additional viewpoints were included to make it easier to test. Here's code for an alternative function, the graph of which is a bit less symmetric. Feel free to use either code set: ...
4
votes
2answers
215 views

Clicking to add/remove a Locator

I would like to add a Locator to a figure displayed by Manipulate when I click inside the figure, at the location where I click, ...
4
votes
1answer
379 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.: ...
4
votes
1answer
223 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 ...
4
votes
1answer
618 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
3answers
166 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. ...
3
votes
1answer
634 views

How to speed up Manipulate with Graphics3D

How do I speed up the Manipulate of the Graphics3D objects here? It is currently painfully slow, and I'm at a loss. I have reviewed many other posts and implemented what I could based on them, but it ...
3
votes
1answer
348 views

Manipulate executes expressions multiple times

I am using Manipulate for a rather intricate front end for data visualization. I was getting very sluggish performance and was able to boil the problem down to a ...
3
votes
1answer
219 views

Change values in equation with slider

I want to make an equation where the values adjust to my slider which I inserted with manipulate. Well, I tried, but when I use the slider the equation starts to fall apart. Actually this should ...
2
votes
3answers
314 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. ...
2
votes
2answers
1k views

Manipulate a Differential Equation result

I want to Manipulate the result of Differential Equation like : ...
7
votes
2answers
464 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 ...
7
votes
1answer
300 views

Make ControlActive respond faster within Animate

The following code uses Animate to create an animation that displays as {t, "Inactive"} when paused, and {t, "Active"} when running: ...
7
votes
1answer
303 views

How to wrap this dynamic code inside a Manipulate?

My goal is to set up a Ising-type simulation, where many fast simulation steps are done in the background, and a visualization of the current state is displayed as the simulation evolves, being ...
6
votes
0answers
150 views

Trouble understanding TrackedSymbols

While developing a relatively complex demonstration for Manipulate I encountered the problem that my output was unintentionally self-updating in an endless loop. ...
6
votes
2answers
215 views

There is an issue with Manipulate in which it updates its argument twice in V10

I have asked this question before (here) and I thought that the issue is only when moving the Notebook window. It appears that Manipulate is working in weird manner. ...