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
1answer
71 views

Rendering of a HighlightGraph in a Manipulate content pane distorted by changing the highlighted edge

A HighlightGraph inside a Manipulate initially displays correct however after approximately 2 seconds, the layout changes and ...
2
votes
1answer
50 views

Manipulate and OpenerView

I have discovered a problem with OpenerView. My opener views always close when I change the value of the manipulator control in my ...
1
vote
1answer
67 views

Generation of Sliders via Tables/For loops

I have a list named data that contains lists of arbitrary size, data={{0.5, 0.5}, {}, {0.5, 0.5, 0.5}, {}, {}, {}, {}, {}, {}, {}} I now want to generate for ...
2
votes
3answers
166 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 ...
8
votes
2answers
583 views

How To interactively create a Polygon in a Graphic?

Background: suppose I start with the following (working) snippet. Manipulate[Graphics[Line[{{0, 0}, p}], PlotRange -> 2], {{p, {1, 1}}, Locator}] Ideally, I ...
6
votes
3answers
298 views

How to eliminate the need to double evaluate a Manipulate so that a Module in its Initialization section works?

Using V 8.04 on windows. I think this issue might be related to the fact that Mathematica reads main body the Manipulate before evaluating or running the Initialization option. Or, might be ...
0
votes
0answers
47 views

Hide your controls inside Manipulate [duplicate]

I didn't find any topic that could help me; I hope this isn't repeated. I just want to show a control if a specific option is selected inside a popupmenu: ...
0
votes
1answer
62 views

How to use Button as a control in Manipulate

I am trying to use Button as a controller in Manipulate. I have done some thing like this: ...
1
vote
1answer
44 views

Prohibiting Autorun in a Manipulate?

One of the four possible AppearanceElements for Manipulate is "ManipulateMenu" which provides a number of features such as ...
4
votes
2answers
89 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
28 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
49 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
98 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
56 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
146 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
426 views

How to set precision and format labeled Slider in Manipulate?

For my calculations, I need increased precision of parameter 'k' in my Manipulate: ...
24
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 ...
1
vote
2answers
286 views

Constrain movement of a locator inside Manipulate

Once again a big thank you for the great help in my earlier post: Plotting function with Dynamic parameter. It totally worked out. I now have a new coding problem ...
0
votes
0answers
34 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
274 views

Evaluation indicator for a notebook

I have a GUI with a number of TabView and other Manipulate controls. Sometimes clicking from one tab view to the other can take ...
13
votes
1answer
356 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
358 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 ...
18
votes
3answers
550 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
52 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
37 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
80 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, ...
20
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
171 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
56 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
57 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
73 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
65 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
51 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
38 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 ...
3
votes
2answers
321 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
252 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
99 views

Why am I not seeing all my graphics?

I write a function to simulate a trajectory,code as below: ...
1
vote
3answers
106 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
105 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 ...
1
vote
1answer
69 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 ...
2
votes
1answer
126 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
63 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, ...
0
votes
0answers
57 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
193 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
56 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
46 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
152 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
85 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
98 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: ...