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

3
votes
1answer
163 views

Manipulate not showing anything

This works: Manipulate[Plot[2*x + 3*y, {x, 3, 4}], {y, 3, 4}] But this doesn't ...
3
votes
2answers
402 views

Question about making TabView remember what tab to open

Background: Consider the following ( for the purpose of illustrating this question ) simplified, but working snippet of code. ...
3
votes
1answer
230 views

How to programmatically create a Manipulate in another Manipulate?

Background: the following Manipulate works as expected ...
3
votes
1answer
255 views

Feed a Manipulate[] Output into a Graphics[]

Please consider : ...
3
votes
1answer
160 views

Manipulate with formatted output

I would like to have 4 output fields for something like the following: Manipulate[ n*x n/x n + x n - x, {n, 1, 10}, {x, 1, 10}, ControlType -> InputField] but ...
3
votes
2answers
217 views

Export in Manipulate, infinite loop

I want to make export of a plot inside Manipulate, but only once. However, this code runs infinitely and does export infinitely: ...
3
votes
2answers
262 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. ...
3
votes
1answer
182 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 ...
3
votes
1answer
125 views

Switch inside Manipulate controls statement

I am using this code inside of a Manipulate: ...
3
votes
1answer
85 views

Alternate controls in manipulate

Is there a way to have two controls that govern a single variable in a Manipulate? Specifically, I am using a Locator to select an {x,y} coordinate, but I would also like the user to be able to ...
3
votes
3answers
289 views

Animation is jerky, but slider is not

When I do the following simple animation (from the book Mathematica Navigator, p. 316) the slider control changes the image smoothly, but when I play the animation it is jerky. Is there anything that ...
3
votes
1answer
145 views

Mouse click on BarChart elements

What I would like to do is explore a data set by clicking on elements in a BarChart. I have some existing code which uses a manipulate which I was hoping to modify. ...
3
votes
1answer
173 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 ...
3
votes
1answer
65 views

How to delete graphics

The code below does not execute as I had intended it to do. Clearly, I do not understand where to go from here. The first click of the mouse sets the initial conditions (t0,x0) for the unique ...
3
votes
2answers
212 views

How to obtain the GIF by Mathematica?

Is it possible to create such GIF illustration amination by Mathematica? and the rendering effects of each trigonometric function curve. UPDATE I have mainly two puzzles: 1) how to obtain the ...
3
votes
1answer
273 views

How to efficiently drag points on a curve within a Manipulate

My intention is to demonstrate on any conic various metrics properties on points belonging to the conic and connected by lines. I want the points to be dynamically moved not the usual way, ...
3
votes
1answer
241 views

project moving point onto a line

The following code displays three solutions to the logistic ODE with an animated points that follow the solutions.. My goal is to project the solutions on to a vertical phase line. I need to be able ...
3
votes
3answers
105 views

Zooming the interval arround $0.333\cdots $, whats wrong?

I'm trying to zoom the interval arround $0.333\cdots$ with: ...
3
votes
1answer
249 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
2answers
221 views

How can I track the execution time of an evaluating Manipulate cell?

In Wolfram's tutorial on Advanced Manipulate Functionality, a nice example of a continually evaluating Manipulate cell is presented: ...
3
votes
2answers
396 views

Ploting a 3D vector field using Manipulate, VectorPlot3D and NDSolve

My aim is to plot a vector field of the following system with a few trajectories: $$r'(t)=i-l.r(t)-\text{ux}. r(t). x(t)-\text{uy}. r(t). y(t) \\ x'(t)=\text{ex}. \text{ux}. r(t). x(t)-\text{mx}. ...
3
votes
1answer
178 views

Manipulate Slider over discrete collection. Keyboard control.

I would like to create a Manipulate slider that iterates over a discrete set of items. Something like the following ...
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 ...
3
votes
1answer
433 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
1answer
1k views

Embed CDF into an Apple iBook?

Edit From the comments I received and verifying the information about CDF at wolfram.com, it appears that it is presently impossible to embed CDF into iBooks. WRI does not appear to be happy with this ...
3
votes
2answers
125 views

Circumnavigate a curve (part 2)

I got help from Kuba on a previous post regarding this issue I'm having but after integrating that solution into my code, the problem changed and I am left with something I don't know much about (even ...
3
votes
1answer
112 views

How can I get precise frame rates in dynamic?

I've been the Spritz sdk in my ios apps, and I love it. For funsies I wanted to see how much less code a mathematica version would take! Using dynamic I get a nice result, shown below in code. ...
3
votes
1answer
73 views

How can I terminate a running computation in Manipulate?

I want to make a simple cdf file that makes some hard computations inside Manipulate. Is there a simple way, lets say using a "stop!" Button, to terminate the time consuming calculations--without ...
3
votes
1answer
266 views

Combine a dynamic module with a manipulation

I would like to combine a dynamic module with a manipulation, whilst maintaining the functionality of both. I have tried things like Show and ...
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.: ...
3
votes
1answer
210 views

How to link a button to a manipulate play

I am wondering how I can link a button to the play button shown if you expand "Show Animation Control", So something like, ...
3
votes
1answer
290 views

Manipulating a catenary in Mathematica

I have a catenary curve in Mathematica, and I wanted to add a variator (dimmer) with Manipulate, so that the user can modify the value of the x/y-coordinate of the ...
3
votes
1answer
171 views

Generate a new output using Manipulate

Thanks to methods found in the below, I was able to assemble those elements : Tile image on specific location without space between them How to combine images with the same dimensions in a grid? ...
3
votes
2answers
82 views

Manipulate a parameter within the PlotLabel

Very similar to Parameters in plot titles in which I want to call a parameter from an array using PlotLabel in my plot using ...
3
votes
1answer
107 views

How avoid white space and tags in CDF on web page

A CDF manipulate made in Mathematica 8 works fine and looks fine in a web page except for unsightly notebook tags and white space around the outside of and below the panel. What can be done? ...
3
votes
1answer
174 views

How can I selectively trigger computations in Manipulate?

I have a Manipulate that uses RandomVariate and Random that I would like to have redraw and ...
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 ...
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 ...
3
votes
2answers
160 views

I'm trying to make an internet radio alarm clock

I'm trying to make an alarm clock which opens a website. I have something which works but it is imprecise and generally quite ugly ...
3
votes
1answer
62 views

Manipulate inside a function definition slows down when passed a large data set

I'm working with large data sets (>1gb) which I'm visualizing with Manipulate[]. The following example works fine for me with no additional memory overhead: ...
3
votes
1answer
207 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 ...
3
votes
0answers
70 views

Antialiased text in manipulate constantly re-evaluated, ignores TrackedSymbols

I am trying to display antialiased text (using the ImportString[ExportString[]] method shown here) but inside a manipulate so that the text can be changed interactively. I have found a way to do this, ...
3
votes
0answers
102 views

How can I control the controlplacement of Manipulate? [duplicate]

I want to place the Slider of manipulate as I want but I can't, help me to get rid of it ...
2
votes
4answers
184 views

Manipulate Iterated Logarithm

Could I create a third slider that controls two other sliders? I would like to master slider to move slider k from min to max, at which point, the master slider ...
2
votes
2answers
540 views

Scoping inside of Module and Manipulate

This is driving me nuts: I'm trying to control the parameters for a relatively large system of ODEs using Manipulate. ...
2
votes
1answer
142 views

Filling between quantile ranges

Following code plots Quantiles for a GBM process. ...
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 ...
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 ...
2
votes
3answers
266 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. ...
2
votes
4answers
63 views

Extracting the body of a function

I have a very simple issue with Mathematica, but I can't seem to find an answer for it. I solved an equation with DSolve, and I got a result as an array of the following type: ...