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

9
votes
1answer
226 views

Full documentation for AppearanceElements

As explained in this solution, ListAnimate[Table[Plot[Sin[n x], {x, 0, 2}], {n, 3}]]//InputForm will allow me to view the types of appearance element for the ...
-3
votes
1answer
113 views

How to show a general graphic (not a Plot) inside a Manipulate

I'm building a little interface, which consists only of a button, as you can see here: ...
1
vote
1answer
101 views

Scope of variables within a Manipulate expression [duplicate]

I have a problem in defining the local variables. I have this code: ...
0
votes
1answer
66 views

Is there a way to use pause in Manipulate?

Is there a way to do any similar to Do[Print["Iteration...", j]; Pause[1], {j, 1, 6}] with Manipulate? (to show the ...
-2
votes
1answer
52 views

How to Show the “TemperatureMap” using Manipulate? [closed]

How to show the "TemperatureMap" in Manipulate?. ONLY the image, without text "ColorData..." ...
0
votes
0answers
97 views

an NIntegrate inside a manipulate in mathematica was working and suddenly won't work now. it says indeterminent and it doesn't make any sense why

my title says pretty much everything heres what I'm entering. NumericQ returns a false value but it was true before. Im loosing my patience because this is so ...
0
votes
2answers
71 views

Manipulate executes twice [closed]

I need help, guys! Here the script: ...
0
votes
0answers
96 views

Manipulate for Electric Field

I'm kind of new to Mathematica but I'm getting the hang of it slowly. Anyways, I'm trying to do a project on the electric field of two particles so my professor helped me with this code (sorry in ...
2
votes
1answer
106 views

Aligning controls and their labels to grid?

I have a Manipulate with 6 sliders controlling 6 different variables. I have labelled them all. The problem is that the labels have different lengths, so it looks a ...
1
vote
1answer
116 views

Behaviour of OutputResponse in ListLinePlot

Ok, I think this is not the best way to do this, so I'm open minded for every suggestion doing it in a better way. The Question is why does ListLinePlot not plot ...
5
votes
3answers
145 views

Creating centered inline cell in text cell

The cell corresponds to the textual form ...
0
votes
2answers
120 views

How to partition three years of data into daily samples

I'm trying to find mean of temperature data list. The temperature data list has 3 hours steps which means I have 365*8=2920 temperature measurements per year. My data are temperatures of 13 years. ...
1
vote
1answer
61 views

Mathematica quits calculation automatically

I have this little program that is adopted from a Wolfram demonstrations project (link here: http://demonstrations.wolfram.com/PercolationOnASquareGrid/). I want to see what happen if I increase the ...
3
votes
1answer
109 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. ...
-1
votes
1answer
81 views

MANIpulate. How to put labels and fit 24 vslides in a row? [closed]

How could I fit 24 vertical slides in a row?, in the up and How to add any reference like 0 and 8 ? and how to add 2 options boxes in the right under the vslides (or to the right of vlides??? What ...
-2
votes
1answer
75 views

How to put the labels in the minimun and maximun option in the slide verticals? Manipulate

I like this, but.. .. how could I put the labels to know +- over where value I are moving? for examples, between 0 and 8. ...
1
vote
1answer
43 views

How to make 3 parameters selection and then execute, and not with each selection?

Manipulate[{u*v}, Row[{Control[{u, 0, 1}], Control[{v, 0, 1}]}], ControlType -> VerticalSlider, ControlPlacement -> Up] Q1.- How to select the operation ...
1
vote
0answers
76 views

How do I keep a random value associated with a locator point as points are added?

I have a Manipulate to which I am adding and removing Locator points (one of which is different from the others, though that is ...
0
votes
1answer
48 views

how to use Manipulate changing the values of a List?

How can I "change" the values in the list h={2,4,6} using Manipulate? (Next line was edited after hte first Alexi´s comment) I WANT to choose real values in h[[1]], h[[3]] , h[[3]] between 0 and 8. ...
0
votes
2answers
55 views

How to show many data lines with MAnipulate?

How could I show many lines with data, usin Manipulate?? ...
4
votes
2answers
131 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, ...
1
vote
2answers
107 views

Is it possible restore initial values after modify a control in manipulate?

I used to program in Visual Basic, but in Mathematica I have not seen some kind of restore default values after any user modification command in the Manipulate ...
8
votes
3answers
414 views

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

I have a simple lattice / line manipulation: ...
1
vote
1answer
89 views

Functions defined via inverse Laplace transform - plotting issue [closed]

I need to define a function $k(t,c_1,\alpha_1,c_2,\alpha_2)$ in the following manner: ...
0
votes
1answer
56 views

Why won't Manipulate work with symbols generated by Symbol?

Suppose I am provided with two data lists. (Assume for the moment that they are lists of integers.) I would like a function that generates bar charts that I can manipulate. Here is what I have: ...
0
votes
1answer
70 views

Make several separate Manipulate controls on a single line?

How do I make several different Manipulate controls appear on a single line? I currently have both a Slider and an ...
2
votes
1answer
55 views

Manipulate AnimationRunning equivalent?

I have a Manipulate function with two variables. I would like one of them to begin autorunning immediately once the function is evaluated, but the other to remain ...
0
votes
1answer
150 views

Manipulating a piecewise function

A while ago I posted a question regarding differential equations. It was supposed to model heat transfer. We've refined our model a bit (using numerical methods now). Our code now looks like this: ...
0
votes
2answers
169 views

How to manipulate lists of parameters?

Suppose I have a function of a variable f, depending on some other parameters a and b, for ...
0
votes
1answer
98 views

Plotting two-variable function as function of one variable with manipulate for both variables

I have a function g(x,y) and would like to plot it as g(x) with a slider to vary y. What I currently have is a g(x,y) plotted as g(x) but with y as a parameter which I can adjust: ...
4
votes
1answer
94 views

Dial control for Manipulate?

I'm trying to make a control item in a Manipulate that is a simple dial. I'm trying to mimic Manipulate[theta, {theta, 0, 360}], ...
0
votes
0answers
48 views

Since when is a log distributed across a finite sum?

I have this: ...
0
votes
2answers
69 views

Setting CheckboxBar defaults under Manipulate

How is the default for the checkboxes created by CheckboxBar in a Manipulate set to be checked instead of unchecked? (The ...
1
vote
2answers
85 views

Error Trapping Complex Infinity Error due to Divide by Zero in Manipulate

I want to use a Manipulate that has two controllers that end up as a difference in the denominator of an expression. It is easy enough to set up the initial ...
3
votes
1answer
236 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 ...
0
votes
0answers
57 views

Given a list of pairs, average the second elements of pairs whose first elements match [duplicate]

Say this is my list: mylist={{1,4},{1,6},{1,11},{2,12},{2,14}} I want to do an operation that looks at the first element of each pairs, and for all those that ...
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 ...
1
vote
2answers
176 views

Manipulate wrapping ParametricPlot3D - part spec longer than depth of object?

I have a system of parametric equations s0 = {t0, 0. +2. Sin[θ] Sin[ϕ]-1. (0.5 t0+0.5 Sin[θ] Sin[ϕ]), 4. (0. +0.25 Cos[θ] Sin[ϕ]), 1. Cos[ϕ]} If I plot them ...
4
votes
1answer
140 views

Why does one of my Manipulate integer variables get turned into a real?

I'm developing code for manipulating graphs. Spot the difference in the 2 Manipulates below: ...
0
votes
1answer
71 views
1
vote
1answer
117 views

intersection of two lines with a slope slider

I am trying to build an IS/LM model with sliders for a few things including the slope of the IS curve. I am stuck getting the equilibrium ticks and dashed lines to properly follow the intersection of ...
1
vote
1answer
143 views

combining manipulate with “static” plot

Is there a way to show a plot of a "static" function as background for a manipulate panel ? In other words: I have put into a manipulate a trajectory (solution of a system of two differential ...
2
votes
2answers
91 views

Placing some controls above and some below plot

The code below is something I wrote quickly to simulate the problem I'm having with more complex code. I use Row (or Grid) to get the first 2 manipulate variables (a and b) on one line above the plot ...
1
vote
3answers
225 views

Plot parametric solutions using Manipulate [duplicate]

I want to plot the parametric diagram of {y[t],z[t]}, in which I manipulate a parameter, ω, from $[1, 10 \pi]$. Here is what I have attempted, but I can't get a ...
2
votes
1answer
54 views

Choose partition of a set with Manipulate

Suppose I have a set represented by an array of strings, like set = { "A", "B", "C", "D", "E", "F" } I would like to create a Manipulate which allows the user to build repartitions of the set. ...
0
votes
1answer
81 views

grid lines in Manipulate plots are not showing up when first rendered?

I have a Manipulate within which the plot does not render completely initially: ...
-1
votes
2answers
140 views

Plotting solutions of differential equations with different parameters

I want to plot x[t], when i manipulate w from 0.1 to 1.5. Here is what I've attempted, which does not work as expected. ...
1
vote
0answers
63 views

Problems with manipulating plot in a dialog

G'day, guys. Here is a silly problem I am struggling with. ...
0
votes
2answers
126 views

Problems with Manipulating a piecewise function

I'm having problems with changing some parameters with "manipulate" in a piecewise function. The code i'm working with is: ...