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
2answers
340 views

How to put some number of queens on chess board dynamically?

I asked how to make resizable chessboard in here. nickjamesuk help me . Here is the code. I thought I can put queens on the board chess board easily after created resizable board, but it didn't work ...
-2
votes
1answer
102 views

Why am I not seeing all my graphics?

I write a function to simulate a trajectory,code as below: ...
1
vote
3answers
119 views

Why does Dynamic for PlotRange in ListLinePlot prevent the proper range from being used?

I am using Manipulate to simulate Brownian motion. I want to be able to zoom in. Thus, I want to use Dynamic for the ...
3
votes
1answer
260 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, ...
1
vote
1answer
106 views

Why don't I get the graphics output I'm expecting? [closed]

Today,I want to use a point generate a circle,the main picture as below: Given that I know the equation of circle, and the value of $L_1$,$L_2$.The coordinate of point $A$ is $(p_x,p_y)$. I use ...
2
votes
2answers
96 views

How to control Manipulate speed

I want to ask about how can we control Manipulate function so that it is not incrementing the step until the expression is calculated. I have the following simple ...
0
votes
1answer
64 views

What's going wrong with this button! [duplicate]

I'm implementing an Adaline algorithm where all inputs are 1x5526 and the output is a number from 1 to 10. I have this two functions defined and worked outside the ...
0
votes
0answers
30 views

How to change $n$ variables with $n$ Buttons automatically [duplicate]

I was trying to make a little game, and I came accross this problem. The goal is simple. There are going to be $n$ number of buttons, and each one will change a value of one variable. For example, ...
2
votes
1answer
137 views

Manipulate for variable number of sliders

I'm trying to use Manipulate for plotting multidimensional data, where higher dimensions are defined as sliders. First, this simple example works: ...
4
votes
2answers
90 views

SetterBar divider style in Manipulate on a Mac

MMA 9.0.1 MacOSX "Mavericks". This issue is apparently mac specific. The issue of this post is illustrated here, for example. In a SetterBar control straight out ...
0
votes
0answers
58 views

Creating a .gif file from a complex Manipulate function [duplicate]

I am trying to create a .gif file from the following manipulate functions (sorry for the poor formatting but I couldn't figure how to do it better) : ...
0
votes
0answers
61 views

Showing the progression of a Jarvis march algorithm

I am trying to use Manipulate to show the process of creating a convex hull using the Jarvis march algorithm. My code currently computes the convex hull using ...
1
vote
1answer
50 views

Displaying an open Manipulator

Take something like: Manipulate[N[Pi]*s, {{s, 5}, 0, 10}] This results in the following: What I would really like is the following: Is there any way to ...
4
votes
0answers
185 views

Modelling Hysteresis with a Differential Equation

I want to implement the bulk ferromagnetic hysteresis model (mostly the Jiles-Atherton Model), see http://drum.lib.umd.edu/bitstream/1903/6043/1/PhD_99-1.pdf page 44 equation (30). The needed ...
9
votes
1answer
198 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
104 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
94 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
60 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
47 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
91 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
67 views

Manipulate executes twice [closed]

I need help, guys! Here the script: ...
0
votes
0answers
90 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
87 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
107 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
130 views

Creating centered inline cell in text cell

The cell corresponds to the textual form ...
0
votes
2answers
119 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
55 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
101 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
79 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
41 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
44 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
118 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
94 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 ...
7
votes
3answers
377 views

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

I have a simple lattice / line manipulation: ...
1
vote
1answer
77 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
55 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
67 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
54 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
97 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
145 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
85 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
92 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
61 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
69 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 ...
2
votes
1answer
211 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 ...