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
81 views

Trace two DateListPlots?

I currently have two DateListPlots in the same graph, with two different y-axes. I downloaded the package "TwoAxisDateListPlot" to accomplish this with ease. Now I want to be able to trace both of the ...
4
votes
1answer
71 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
50 views

Manipulate plot [duplicate]

How can one do this: ...
0
votes
1answer
68 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
67 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
43 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
85 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
84 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
86 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
71 views

Using grids in manipulate

I have a few questions. Here is the code so far: ...
0
votes
0answers
34 views

How to solve ReplaceAll problem inside Manipulate

I'm running into some trouble when I try and use Manipulate (code included below). Instead of letting me manipulate the plot, I get an empty plot and this: ReplaceAll::reps: ...
0
votes
0answers
35 views

Where to put manipulate brackets for slider effect to refresh page

In order to move the plane of a best fit around to alter the sum of the residuals, I have decided to pick on one point and attach a slider to it, this adds a little variance and moves the table ...
0
votes
1answer
29 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
45 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
67 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
79 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
42 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 ...
4
votes
2answers
77 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 ...
1
vote
0answers
43 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
73 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
147 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
75 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
64 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
78 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
74 views

Manipulate - Evaluating Value of Function

I would like to visualize the properties of a threshold, which is a value of a function. Unfortunately, the value is expressed as scientific value (an approximation with 3-5 decimals would be fine) ...
0
votes
1answer
51 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
63 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
43 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
141 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
38 views

How to handle Indeterminate TimeConstrain

I have to use Timeconstrained[aux] first for avoid some bigs calculation that dont need and it use a lot of time of calculate, so i can't do this. ...
1
vote
1answer
60 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
69 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 ...
0
votes
1answer
71 views

Wrong Definite Integral result [closed]

When I calculate the definite integrate of (a+bt)*cos(nt). Integrate[(a + b t) Cos[n t], {t, t1, t2}] MMA gives a correct answer: ...
3
votes
2answers
163 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
57 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
157 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
39 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
127 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
90 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 ...
2
votes
0answers
158 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
136 views

Manipulate showing the trajectory of a particle

I'm trying to plot the trajectory of a particle: ...
1
vote
1answer
80 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
74 views

How to Increase Performance of Manipulate Recalculating List?

I have a list in the form of prices below. ...
5
votes
1answer
101 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
96 views

Manipulate - mechanics

I have a simple manipulation with points & lines: ...
4
votes
2answers
233 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
88 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
230 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 ...
0
votes
0answers
51 views

Using variable values from Manipulate in later Plots etc

i wanted to get write something that gives me all the values i want for the Student -t distribution. In my definition i tried to acess the variables, df and t, to later plot how it looks like in a ...
7
votes
3answers
157 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 ...