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

6
votes
1answer
133 views

Why is C-compiled (but not WVM-compiled) code so slow in Manipulate?

Here is a small section of code from this SE question which computes the real part of the dilogarithm (the upper limit of the sum is increased for demonstration purposes): ...
0
votes
0answers
59 views

Manipulate plot [duplicate]

How can one do this: ...
0
votes
2answers
188 views

Performance Issue When Using Manipulate

Any help would be appreciated! I've been attempting to manipulate the graphics for time t. We need to have Di set to 11.2, however when it is set to any value greater than .1, we see a great deal of ...
0
votes
1answer
127 views

Manipulate an equation by its variable name

Let's say I have an equation that I want to manipulate. In[1]:= y=x1+ x2 When I try to manipulate it, I get: ...
0
votes
1answer
61 views

Changing the control parameters of Manipulate

I am trying to adjust the start and end points of a Manipulate function using variables that only change value if a certain condition is met. What is wrong with the code below? ...
0
votes
1answer
113 views

Using Manipulate with predefined expressions [duplicate]

EDIT: I believe this is not a duplicate question, because the answers to questions pointed to as similar DO NOT give practical solutions to the problems, at least not for normal Mathematica users like ...
1
vote
2answers
208 views

Labeling Manipulate variables with their values? [closed]

I want use Manipulate to create an adjustable plot with labeled values. This Manipulate expression seems to work fine: ...
1
vote
1answer
103 views

What's wrong with this tutorial? [closed]

Disclaimer: This code is not mine. Source. I'm trying to follow along with it, though, but it seems that this code no longer produces a working manipulatable plot at the end -- and I'd like to know ...
1
vote
1answer
174 views

Using grids in manipulate

I have a few questions. Here is the code so far: ...
0
votes
1answer
69 views

Exporting an Animation with Bookmarks

I have some code that's designed to evaluate a function that has two input variables, plot and animate said function in a specific order, and finally export the result. While I can get the function ...
0
votes
1answer
83 views

How to make `Manipulate[]` slider longer but not losing buttons?

In this question the solution to make Manipulate's slider longer is to use ControlType->Slider with ...
3
votes
1answer
159 views

How to delete graphics

The code below does not execute as I had intended it to do. Clearly, I do not understand where to go from here. The first click of the mouse sets the initial conditions (t0,x0) for the unique ...
1
vote
1answer
182 views

How to combine manipulate and eventhandler

I combine manipulate and eventhandler, now I can change the controller when working on eventhandler, but how to change the value in eventhandler when I control the manipulate controller? ...
0
votes
1answer
79 views

Convert Dynamic to Manipulate

The following code is a modification of Wolfram code I found under ClickPane Help. I want to convert from Dynamic to Manipulate to make it easier for me to add various controls. I do want to keep the ...
6
votes
2answers
176 views

Injecting list of controls into manipulate

I am trying to program a method to manually move around graph vertices, and then output the new coordinates. I'd like to turn this into a function that can be called with a variable number of ...
4
votes
1answer
144 views

Wrap custom control inside Manipulate or DynamicModule

[Apologies if this is a duplicate: I have looked at quite a few related questions but have not seen this issue dealt with] I have built a custom control, using the following method: ...
5
votes
2answers
92 views

Using gamepad without dynamic

I am a novice using Mathematica. I program regularly using c like languages though. Now i work on a simulation of a vehicle. I have a loop that calculates the next state of the physical model every dt ...
7
votes
1answer
190 views

Momentary Checkbox

I'm trying to create a demonstration in Mathematica where a checkbox will show an answer, but I only want the answer to be shown while the mouse button is pressed. There seems to be a ...
1
vote
1answer
128 views

“Independent” Variables in Manipulate

I am trying to plot the solutions to the Kepler problem. I am using Manipulate. It plots the orbits, the equipotential lines and the position of the planet. When I move the time variable, only the ...
2
votes
4answers
79 views

Extracting the body of a function

I have a very simple issue with Mathematica, but I can't seem to find an answer for it. I solved an equation with DSolve, and I got a result as an array of the following type: ...
-1
votes
1answer
420 views

Putting two functions in one manipulate plot

I have a problem that is somewhat related to this http://stackoverflow.com/questions/7727668/putting-two-plots-in-a-manipulate-whilst-keeping-the-plots-visible but I would like to plot two functions ...
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: ...
0
votes
1answer
230 views

Manipulate Slider Value on the Plot

Lets say I have a very simple manipulate in Mathematica given by: Manipulate[Plot[Sin[a x],{x,-2 Pi,2 Pi}],{a,0,5}] I want two things which I am unable to do: I ...
2
votes
1answer
56 views

Manipulate Plot with Controller being difference of two variables

I'm not sure if this is possible at all or whether manipulate is the best option to plot this, but currently I'm using the following code to plot Function Func vs. t values for different x values. ...
1
vote
1answer
162 views

Image shaking when Manipulate with slider

How to prevent the Graphics3D object in following code from shaking when continuously changing the phi parameter? ...
1
vote
1answer
77 views

Increment in Manipulate does not seem correct

I am reading the documentation for the Manipulate command and I've done this code: ...
2
votes
0answers
222 views

Manipulate causing frequent crashes

I am putting together a dynamic 3D plot which is to be "manipulated". The code does what I want it to, but keeps crashing all the time. Sometimes it crashes the kernel, so I just have to run the ...
5
votes
1answer
331 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 ...
3
votes
2answers
195 views

I'm trying to make an internet radio alarm clock

I'm trying to make an alarm clock which opens a website. I have something which works but it is imprecise and generally quite ugly ...
1
vote
2answers
87 views

Assigning to the “local” version of a symbol

Compare Manipulate[c[1] = 1; c[1], {c[1], 0, 1}] with Manipulate[Do[c[i] = 1, {i, 1}]; c[1], {c[1], 0, 1}] The first case ...
4
votes
2answers
249 views

Manipulate in Manipulate

Question 63982 (Altering values in Manipulate with dynamically generated controls) got a very interesting answer from @belisarius, in which he used a Manipulate ...
0
votes
1answer
153 views

Manipulate Solve for initial condition

I have a series of $n$ coefficients with parameters $r$ and $b$ that sum up to one. But there i also the initial condition value $c1$ that i required to obtain this normalization. I want to find this ...
4
votes
3answers
317 views

Altering values in Manipulate with dynamically generated controls

I have a Manipulate whose controls are generated based on a parameter in a containing Manipulate: ...
2
votes
2answers
207 views

Simplifying vector expressions

I have some code that calculates Jacobians, but the results contain terms that should simplify or cancel out, but I'm not sure how to achieve this. My code looks like ...
3
votes
0answers
202 views

Is 450 lines of code in one block too much?

I'm using Manipulate to play around with some graphs (up to 6 vertices). Users can work with one graph or find the union/intersection/difference between two graphs. The user can display the graph ...
5
votes
2answers
273 views

Manipulate showing the trajectory of a particle

I'm trying to plot the trajectory of a particle: ...
1
vote
1answer
107 views

Manipulate filters in arrayplot with graphical user interface

I have a set of images which need to be filtered by different filters. So I have made an interface in which the user can choose his or her filter. However I now want to manipulate the degree of the ...
1
vote
1answer
100 views

How to Increase Performance of Manipulate Recalculating List?

I have a list in the form of prices below. ...
5
votes
1answer
176 views

Drawing disk with coordinates from NDSolve

I have simple Manipulation expression, but continuously getting error Coordinate {x[0.], y[0.]} should be a pair of numbers, or a Scaled or Offset form. I assume that something is wrong with ...
1
vote
1answer
110 views

Manipulate - mechanics

I have a simple manipulation with points & lines: ...
5
votes
2answers
284 views

What is the font of these control labels?

What is the font of these control labels? I've gone through every font Mathematica offers (through the format GUI) and don't see a match. Haven't had any luck with default format files either. I'm ...
1
vote
2answers
110 views

How to plot the movement of points as I change the slider

I have this code that generates an Edgeworth both with two optimum points. The optimal points change as I move the slider. I would like to plot/trace the change in the optimal so that at the end I can ...
2
votes
1answer
385 views

Dynamic graph construction and visualization (Watts' “Small Worlds” α-model)

I need some help in creating a Mathematica program for building and visualizing Watts' "Small Worlds" α-model. This is a variant of the more known (and much more simple) β-model (also known as ...
7
votes
3answers
582 views

Add text after label in a Manipulate graphic

I can add the value of a slider to the right of it using the Appearance-->Labelled option, but what if I want to add text after the automatic label. How can I do that? Normally I want to do this to ...
1
vote
2answers
111 views

Manipulate with Locator question

Here is an example from Mathematica's help: Manipulate[Graphics[Polygon[pt], PlotRange -> 2], {{pt, {{0, 0}, {1, 0}, {1, 1}, {0, 1}, {1, -1}}}, Locator}] ...
1
vote
1answer
116 views

Dynamic control values for Slider2D

I would like to have a Manipulate object with a 2D slider whose boundaries change dynamically depending on other controls. For linear sliders this seems to work ...
1
vote
1answer
146 views

Manipulating multiple parameters in a ParametricPlot

The question is not specific, but not entirely non-specific. Please suggest how to compactly re-code and generalize ParametricPlot command to push in one more parameter ...
2
votes
3answers
193 views

Rotation of a graph using manipulate

I'd like to look at some group transformation of curves in the plane. As a start, I'd like to try to do use the rotation group. Here's the code I tried to rotate a parabola so that I can watch the ...
2
votes
1answer
151 views

Using Manipulate[ ] with physical units

I'm a new user, and am trying to build a simple Boyle's law system in Mathematica. I want to include the units of the values, as I may need to perform some conversions later. If my quantities are a ...
2
votes
1answer
121 views

Manipulating parameters in a complex algorithm

I have a complex algorithm that depends on: A wavelet basis A number of sampling points out of a distribution A thresholding value I want to be able to play with different scenarios using ...