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

1
vote
2answers
120 views

How to do a parametric histogram?

Is it possible to draw a spectral histogram from two random sets ? More specifically, I have these two random functions (fmin, ...
11
votes
1answer
1k 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 ...
-1
votes
0answers
38 views

Moving label with manipulate [duplicate]

In the following Manipulate, I would like to plot a distinct comment in each distinct zone which will move with the manipulation. Is it possible ? ...
3
votes
3answers
60 views

Moving a plot label along with a moving threshold line

Here is a simple Manipulate expression with a threshold. ...
2
votes
2answers
34 views

Preventing LocatorPane Locator from moving when PlotRange changes

I have a LocatorPane within a Manipulate such that the range of the plot behind the Locator ...
5
votes
2answers
399 views

How can I create an interactive ColorFunction using Manipulate?

I am trying to specify my own colors and scaling for the ColorFunction in ListDensityPlot. I have several lists of 2D values ...
0
votes
0answers
36 views

Best way to use interactive locators [closed]

I am trying to use the Manipulate Locators option to move some points around. Ideally, I'd also like to have a button to save the points to a variable. Is there a good way to do this? Additionally, is ...
2
votes
3answers
86 views

Manipulate a Show [duplicate]

It takes me a long time to construct the following picture: ...
1
vote
1answer
17 views

Getting rid of duplicate controls when using PaneSelector and Manipulate

I'm using PaneSelector in my Manipulate controls to change the limits on a variable for 3 (or more) different selections. Here ...
5
votes
1answer
95 views

TrackingFunction not working properly if range containes a mathematical constant

Bug introduced in 10.0 and persisting through 10.4.1 or later Answering this question I had to realize that TrackingFunction isn't working properly if at least ...
2
votes
1answer
129 views

How could I make visible the convex hull of 3 point inside this region?

Small version of the question How can I control the color and the Thickness of this graph?? ...
0
votes
0answers
57 views

3D Plotting of numerical solution

Numerical solution (f(t)) is obtained by solving coupled ODEs. I have used 'Manipulate' to vary the values of two parameters in the couple ODEs and plot the solution (f(t)). How to display the same ...
1
vote
2answers
84 views

Having trouble plotting. Here is my code:

Nothing is plotting when I try to run the code
1
vote
1answer
39 views
2
votes
1answer
98 views

Can I improve this sloppy code used with Manipulate?

I'm not an advanced user of Mathematica, and yet I managed to get the Manipulate command work to do something interesting. The problem I have is that I have the ...
3
votes
1answer
63 views

Mathematica hang on a Manipulate expression

Manipulate[Plot[Erfc[x/(2 Sqrt[t])], {x, -5, 5}], {t, 0.1, 5}] With a fresh kernel, after evaluating this, Mathematica will hang immediately if I try to drag the ...
5
votes
1answer
120 views

Manipulator reset bug

Bug introduced in 10.3 or earlier, fixed in 10.4. When the + opener is opened, two things happen: ...
0
votes
0answers
59 views

Bad behavior of Manipulate with a Greek variable inside

I'm getting bad behavior from Manipulate in Mathematica 10.4.1. A very basic demonstration: ...
0
votes
1answer
53 views

CDF Player and CloudObject`Private` Problem

I'm trying to generate a simple Manipulate[] example showing Taylor expansion. However, the following code shows ...
0
votes
0answers
59 views

How to calculate the slope in a data set plotted in ListPlot?

I am working with a large set of data that follows an exponential behaviour. My challenge is to create a function in Mathematica with these objectives: Retrieve the information from an Excel File ...
13
votes
3answers
532 views

Particles bouncing in a 3D box

I made this Manipulate code which shows a pack of particles randomly moving inside a box. It has a huge performance issue. What should be the best way in doing ...
6
votes
3answers
227 views

What's wrong with naming a rule?

Please have a look at the code below. The second Manipulate uses the name rl of the replacement rule given in the first line, ...
0
votes
1answer
56 views

Manipulate a plot with display of a condition

This is a how to question --- the example is without importance. I want to manipulate the plot of say a x^2 + b y^2 for (a,b) belonging to a specific set, but a + b > 0. Is it possible to make ...
1
vote
0answers
41 views

Periodic boundary condition trick

I'm plotting a curve on a compact space which is having periodic boundaries on the left and right parts. Currently, the code I'm using is working great, but I'm wondering if there's a simpler and ...
1
vote
3answers
71 views

Correcting problems with the controls in a Manipulate

I am developing a toy application to teach me how to generate a more complex CDF app. The current toy app is taking integral. ...
3
votes
2answers
68 views

How to set global style of controls in Manipulate?

I created a Manipulate code which is using several sliders, with the same font output (style, size, font familly, ...). How can I save some space by defining a global style for all the slider ...
1
vote
1answer
110 views

Building a interactive application that accepts lists of arbitrary length as inputs

I have the following function (Class Shape Transformation): cst[wl, wu, dz] where wl and ...
2
votes
3answers
112 views

Strong glitch with Evaluate in Manipulate

I'm experiencing a strong evaluation problem for a Manipulate box and I can't find the best solution yet. Here's a MWE to show the glitch : ...
23
votes
5answers
4k views

Make a beautiful Moiré effect

How do I make the following Moiré pattern? I tried: ...
0
votes
3answers
67 views

Manipulate with dynamic input

I really new to Mathematica and I am working on developing interactive CDF. To understand the basics I start with a simple example but even with that I have a problem. In this simple CDF I want to ...
0
votes
1answer
76 views

Conditional function plot in Manipulate

I'm looking into the stability of solution of a set of chemical rate equations. There is a set of rate constants {$k_i$} I which to manipulate, and I want to find the stable solutions where ...
1
vote
1answer
102 views

Manipulate using DateObject

My question is about making a animiation using 'manipulate' using DateObject as parameter. I start with importing a file.txt, like: ...
1
vote
1answer
80 views

Click individual selections from a button

I have a graphic where each Arrow, Rectangle, and Text is a ...
3
votes
1answer
47 views

Context-aware Locator

I'm trying to use a Locator for some image processing tasks. Unfortunately, the images we're using have a high dynamic range of low-frequency black and white ...
2
votes
0answers
45 views

Optimization for iterating and plotting a matrix product and its elements?

I have an iterative matrix product of this type Since i didnt knew how to do it, I explicitly wrote the product as {Ayn + Bxn, Cyn + Dxn} and evaluated it with the NestList construct ...
2
votes
1answer
51 views

How to use locator continuously with grid of graphics

I am trying to find out, how to properly use a locator continuously within manipulate and a grid of graphics. I have the following example out of this code ...
0
votes
0answers
40 views

Mathematica hangs on manipulation

Mathematica hangs on this code and after abort returns strange evaluation ...
1
vote
1answer
61 views

Calling functions defined inside Manipulate in other notebook?

I'm creating a notebook with a Manipulate and I'm trying to call/use a function from another notebook (I use Get for that), in ...
1
vote
3answers
113 views

Multiple Plots inside a Manipulate with different dynamic variables on their x-axes

I have an expression with lots of variables, and I would like to make several plots of the expression, where the axis in each is a different variable. The idea is to put them side by side inside a ...
1
vote
2answers
127 views

How to plot coupled Differential equations with changing parameters?

I'm a new user of mathematica. What I'm trying to do is following: I have two coupled non-linear differential equations. Say $x'(t)$ = $A− (B +1)x + x^2 y$ $y'(t) = Bx − x^2 y$ What I want is to ...
1
vote
0answers
48 views

Manipulate Listplot of table [closed]

There is a simple code but it doesn't work Manipulate[ ListPlot[ {Table[ {Sin[Pi/4 Cos[t]], -Cos[Pi/4 Cos[t]]}, {t, 1, n, 0.1}]}], {n, 1, 20}]
1
vote
1answer
46 views

Manipulate, graphing a set of functions with comet effect, with fixed axes and history

I want to solve a basic differential equation with a parameter and have the resulting solutions show as a set of functions in a merged plot. I want to be able to do two things: 1- Be able to compare ...
0
votes
1answer
30 views

Taking user input from a button in `Manipulate`? [duplicate]

The following code is intended to display one image from a list of images, and Export the selected image to a file when the "Save" button is activated: ...
4
votes
2answers
568 views

Manipulate 2D random walk

Consider the first $10000$ digits of $\sqrt{2}$ and present them as a “random walk” by converting them in base 4 representing 4 directions. Following code produces this random walk ...
3
votes
1answer
54 views

How to mimic CheckboxBar's Method->“Active” option in a Manipulate's checkbox control?

CheckboxBar has a Method -> "Active" option that allows you to click the label to change the state of a checkbox. I would ...
3
votes
1answer
124 views

Show the locus of the vertex of parabola

For the parabola y = a x^2+ b x + c I want to see the locus of the vertex as b varies (with ...
3
votes
3answers
91 views

How to change random values in manipulate?

I made a Manipulate box that is working very well, using lots of random numbers. I would like to add a button to "reset" (i.e. to change, randomize, or reselect) all the random parameters. Here's ...
0
votes
1answer
36 views

Manipulate different function and variable

I have list of functions such that test = {test1[a,x], test2[a,x], test3[a,x]}; I would like to plot this three function using manipulation ...
4
votes
2answers
104 views

Want Manipulate to be low resolution enough to render fast but no so low resolution that it is useless

When using Manipulate to graph a simple surface (sum of 2 sine waves) with Plot3D, setting PerformanceGoal->"Quality" makes it take about 1/3 second to render, while "Speed" sets it at such a low ...