Tagged Questions

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
0answers
39 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
67 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
133 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
68 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
59 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
72 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
54 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
38 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
50 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
39 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
135 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
29 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
59 views

Increment in Manipulate does not seem correct

I am reading the documentation for the Manipulate command and I've done this code: ...
1
vote
0answers
46 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
66 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
156 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
53 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
150 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
32 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
117 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
79 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
156 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
129 views

Manipulate showing the trajectory of a particle

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

How to Increase Performance of Manipulate Recalculating List?

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

Manipulate - mechanics

I have a simple manipulation with points & lines: ...
4
votes
2answers
232 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
87 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
222 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
48 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
149 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
66 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
49 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
72 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
142 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
92 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
87 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 ...
6
votes
1answer
193 views

Pink Manipulates in stand-alone cdfs

Here is a simple example: Manipulate[Plot[Sin[2 Pi f t], {t, 0, 10}], {f, 0, 5}] This makes a plot with a sine wave of varying frequency determined by ...
2
votes
2answers
72 views

Manipulate a parameter within the PlotLabel

Very similar to Parameters in plot titles in which I want to call a parameter from an array using PlotLabel in my plot using ...
6
votes
2answers
98 views

Choppy curves with Manipulate [duplicate]

While manipulating the slider in Manipulate[], I experience choppy curves. These do however render correctly after letting go of the slider. The same phenomenon occurs when pressing the + or - button ...
0
votes
0answers
15 views

Is it possible to plot a List of functions with different colors in Manipulate (or with substitutions)? [duplicate]

I'm trying to use Manipulate[Plot[... to do two things at once: Plot the multiple forms a function can take depending on the chosen value of a root inside the function, and 2. show how the functions' ...
2
votes
1answer
66 views

Variable number of controls in manipulate

i want to add a variable amount of variables to manipulate, but i got stuck at one point and can't figure out a solution (even after reading here for hours...). I have a function (e.g. here a ...
1
vote
1answer
52 views

Axis Labels Disappear With Manipulate

I have a ListPlot3D with custom axis labels that I am scrolling with Manipulate. My issue is that the axis labels scroll away as ...
1
vote
0answers
51 views

How could I make visible the convex hull of 3 point inside this region?

Small version of the question How can I control the color and the Thickness of this graph?? ...
3
votes
2answers
207 views

How to obtain the GIF by Mathematica?

Is it possible to create such GIF illustration amination by Mathematica? and the rendering effects of each trigonometric function curve. UPDATE I have mainly two puzzles: 1) how to obtain the ...
0
votes
0answers
55 views

How do you create a tangent line that will move along the curve of a line? [duplicate]

Other people have answered this question, but I'm new to Mathematica. We're supposed to use the Manipulate and Show commands to ...
6
votes
2answers
92 views

Showing “updating…” message while Manipulate is re-evaluating

Is it possible to show a fixed text such as "updating..." instead of the last result shown, when Manipulate is re-evaluating an expression (in a slow evaluation ...
0
votes
0answers
33 views

Manipulate in modal mode with data return

I like to use Manipulate[] in modal mode. That means the next cell should be evaluated after Manipulate[] has finished!
1
vote
1answer
71 views

How to set restrictions in Manipulate parameters?

I´m trying to insert the typicall 3 variables for probability, with the restriction x+y+z=1 How can I insert this values in a Manbipulate I try ...