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

4
votes
2answers
93 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
33 views

Has anyone seen (and been able to mend!) an error involving Symbol FE`DynamicModuleVariableList?

FE`ExecuteInDynamicModule::noval: Symbol FE`DynamicModuleVariableList$67 does not have a value. >> I'm just posting the error for the moment as this is a ...
1
vote
1answer
66 views

Output resets when after closing/reopening the file

I've been having an issue in a project I am working on for a demonstration that involves a manipulate containing buttons that influence local variables. In essence, the problem is demonstrated by this ...
2
votes
2answers
151 views

Problems with Manipulate (indicated by blinking output cell)

The following code produces the error message when exported to CDF in the title of this question. Although I have seen similar issues on SE, the problem is manifest by the "blinking" of the plot ...
1
vote
1answer
83 views

Dynamically position labels on ListPlot

When it comes to labelling every single point on a ListPlot there might be some labels overlapping. Thus, I would like to manually position the labels with a ...
0
votes
1answer
158 views

How to load data into a Manipulate expression

I have data showing truncated octahedron geometry changing with time. How can I read those data into a Manipulate expression? To be specific, I want to manipulate ...
8
votes
6answers
569 views

How to set precision and format labeled Slider in Manipulate?

For my calculations, I need increased precision of parameter 'k' in my Manipulate: ...
27
votes
3answers
1k views

Manipulate with a variable number of sliders

I have a function that operates on a list of parameters of variable-length $n$. I would like to create a Manipulate[] that has $n$ sliders, one for each list ...
0
votes
0answers
70 views

Animation - Autorun?

Reworking on a pre-made simulation, when I click the 'Play' button, it won't actually play and when I autorun the program, it just cycles through all the balloons in 10 seconds... is there a way in ...
13
votes
1answer
381 views

Is it possible to use Begin and End inside a Manipulate?

May be someone can explain why I can't use Begin["context`"] and End[] inside a Manipulate ...
2
votes
3answers
378 views

How to manipulate nested expressions?

I have the following expression, only slightly complicated, and I'd like to do two things: Plot the elements of the lists (though messy, all are in the same ...
19
votes
3answers
621 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. ...
1
vote
1answer
63 views

Exporting a plot inside Manipulate - Update first, then Export

I want Mathematica to excute the first action inside the Button fully before executing the second action. In particular, look at the following plot which I want to ...
0
votes
0answers
48 views

Scoping problem with Manipulate [duplicate]

Consider the following simple code: f = Sin[a x]; Manipulate[ Plot[f, {x, 0, 10}], {a, 0, 10}] Manipulate takes f to be ...
0
votes
1answer
97 views

Showing Two Manipulated Plots Together

I want to show a scatter plot and bar chart next to each other in order to show the change in both factors for each county. The scatter plot shows life expectancy per county on the basis of income, ...
21
votes
6answers
3k views

Using ListPointPlot3D to simulate 2D plots moving in time

I wrote a 1D solver for the heat equation $u_t=u_{xx}$, and I can animate the solution using normal ListPlot command, where the x-axis is the rod length, and the ...
2
votes
2answers
198 views

Restarting an Animate animation after variable in Manipulate changes

I've been trying to restart an animation after variables change from Manipulate PopUpMenus. My animation takes the form: ...
1
vote
1answer
71 views

ListPointPlot3D in a Manipulate

I have a program using Manipulate. The program given certain values will compute some values. I want these values to appear in a 3D list plot but the problem I am ...
0
votes
1answer
73 views

Curvature Manipulation: Vector Evaluation Error [closed]

I am building a mathematical simulation of curvature that will show the Osculation circle at each point on a curve. However my code keeps coming up with errors and ...
1
vote
2answers
85 views

Manipulate which creates and deletes Manipulators dynamically

I want to plot a function in a Manipulate in which the number of terms varies and a Manipulator for the coefficient of each term ...
0
votes
1answer
76 views

How to format output when using Manipulate

As in the title, I want to output the image of a 3D body with its volume and surface area shown nicely beside it. (Maybe in a table?) But how can I do it? Is it possible to calculate the surface area ...
0
votes
1answer
77 views

How to Manipulate a ListLinePlot[Transpose[{T,B}]] if T is a Table and B is a list of minima built by using FindMinimum?

I need to Manipulate a ListLinePlot using a parameter P. The problem is that this Curve is a ListLinePlot of a Transpose[{T,B}], in which T is a normal table and B is a list of minima got using ...
0
votes
0answers
45 views

How to approximate a computationally expensive 5-dimensional manifold?

I have a 4-parameter family of functions, which I'll refer to as y[a, b, c, d][x]. In this notation, a, b, c, d are the 4 ...
4
votes
2answers
365 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 ...
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, ...
-2
votes
1answer
102 views

Why am I not seeing all my graphics?

I write a function to simulate a trajectory,code as below: ...
2
votes
3answers
173 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 ...
1
vote
1answer
107 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
1answer
149 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: ...
0
votes
1answer
68 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
31 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, ...
0
votes
0answers
66 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) : ...
9
votes
1answer
235 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 ...
0
votes
0answers
71 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
53 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
234 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 ...
1
vote
1answer
105 views

Scope of variables within a Manipulate expression [duplicate]

I have a problem in defining the local variables. I have this code: ...
-3
votes
1answer
114 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: ...
0
votes
1answer
69 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
53 views

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

How to show the "TemperatureMap" in Manipulate?. ONLY the image, without text "ColorData..." ...
0
votes
2answers
71 views
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 ...
0
votes
0answers
99 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 ...
2
votes
1answer
219 views

How to apply a free-form input Function using InputField

I am trying to take a free-form input Function to create a list using NestList. ...
2
votes
1answer
111 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
117 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
147 views
0
votes
2answers
124 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 ...