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

Problems with manipulating plot in a dialog

G'day, guys. Here is a silly problem I am struggling with. ...
0
votes
2answers
87 views

Problems with Manipulating a piecewise function

I'm having problems with changing some parameters with "manipulate" in a piecewise function. The code i'm working with is: ...
0
votes
1answer
95 views

Why do InputFields not respond in Manipulate utilizing FindGeometricTransform?

In the following code changing the InputField does not result in observing changes in a result from FindGeometricTransform, but ...
1
vote
1answer
87 views

Manipulates Behaving Badly--Why is it autoupdating?

In working on a simple simulation I came across the following Manipulate quirk (bug?) and I want to know how to get around it. Here is the first pass code, which acts as expected (but is incorrect): ...
4
votes
2answers
132 views

How to change start and end date of DateListPlot with Manipulate?

Let's say I have a one dimension list d with length L. The $x$-axis in the plot starts from ...
1
vote
1answer
171 views

How Manipulating a matrix and a graphic in only one Manipulate? [closed]

I have to manipulate a matrix and graphics in one big Manipulate-Block. This way: Manipulate[Matrixform[mat],Graphics3D[]] How can I achieve that? Ok, here my ...
1
vote
1answer
80 views

Placing Buttons within Manipulate [closed]

I want the freedom to place buttons either on the Left or the Right within Manipulate. I can do so by specifying "ControlPlacement" as Left or Right, but the problem is that that only moves BOTH ...
1
vote
1answer
76 views

Increase Size of InputForm in Manipulate

I would like to set a variable equal to a copy n' pasted list, all within the Manipulate[] environment: Manipulate[list,{list,0}] I would like to view and edit ...
3
votes
2answers
188 views

Export in Manipulate, infinite loop

I want to make export of a plot inside Manipulate, but only once. However, this code runs infinitely and does export infinitely: ...
3
votes
1answer
147 views

How can I selectively trigger computations in Manipulate?

I have a Manipulate that uses RandomVariate and Random that I would like to have redraw and ...
2
votes
1answer
88 views

Is it possible to create a manipulate control with lower and upper value

I'm trying to create a manipulate controller to set four value. High and low temperature for both test and use conditions. The four values then go into a calculation. I can set these as four ...
2
votes
1answer
75 views

Change locator object appearance inside Manipulate

I have read earlier discussions of changing Locator appearance in Manipulate. I would like to change the rendered size of the locator object based on one of the manipulate variables. I can't get ...
2
votes
1answer
110 views

Trouble using If[] within TabView Manipulate control

If I place an If in the "body" of a Manipulate as in: ...
1
vote
1answer
83 views

TabView switches tab number without user input in first evaluation

I've attempted to use TabView in a Manipulate to display sets of controls and alter a "display" associated with each set of ...
0
votes
0answers
36 views

Using Manipulate, how do you display the points on the curve and the tangent vector? [duplicate]

I'm new to Mathematica and my assignment is very vague... I'm hoping someone can explain to me a bit more of that this quesion means: Given the curve C, display the point on the curve and the ...
3
votes
1answer
66 views

How can I terminate a running computation in Manipulate?

I want to make a simple cdf file that makes some hard computations inside Manipulate. Is there a simple way, lets say using a "stop!" Button, to terminate the time consuming calculations--without ...
11
votes
3answers
528 views

Logarithmic slider

Is it possible to create a logarithmic slider similar to this one that responds to a change of the variable value? That is, when the slider is moved, the variable value should update. When the ...
0
votes
2answers
102 views

trouble with Dynamic range in SetterBar

It appears that I can set the range to a Dynamic variable in a Manipulate control, but not in a ...
0
votes
1answer
71 views

Why does initialization slow down manipulate in this case?

I'm trying to manipulate a plot of function with some parameters. The function is a long expression, so I tried to put it inside the Initialization options of ...
4
votes
2answers
101 views

Anchor Manipulate Controls to Edges of Content

I'm running into an issue with arranging Manipulate controls and a dynamic module around the content pane of the Manipulate. For example: ...
0
votes
1answer
189 views

How to manipulate some list-plot in Mathematica

I have two separated matrices in the form X[[i*dx,j*dt]] and V[[i*dx,j*dt]] where i & j are integers from (1 to N) & (1 to M). V & X are velocity ...
0
votes
0answers
48 views

Manipulate: After Changing view of a Graphic, the sliders can't be used anymore

I have a new problem: I have exported my program as a cdf standalone. I changed the view of the graphic and now the sliders cant be used anymore. Very strange... Here is a screenshot: The orange ...
4
votes
4answers
223 views

Using Locators in a non-standard Manipulate code

I'm trying to adapt Nasser's method for using a control variable inside Manipulate to selectively choose what part of the code should be recalculated depending on the controls changed (see this ...
3
votes
2answers
51 views

Avoiding RandomVariate update with use of Locator

I am preparing an activity that simulates the response from a noisy spectrometer. The function I use to generate the data has the form: ...
1
vote
1answer
117 views

Get the correct position of a label on a vertical gauge

I am trying to have the value for a vertical slider display next to the indicator arrow for a vertical slider. However, my attempt is slightly wrong; the coordinates are scaled to the entire frame of ...
1
vote
1answer
94 views

How to place a matrix under controls (sliders) in a Manipulate?

I want to know how I can place a matrix under my sliders. Here is my code: ...
1
vote
4answers
85 views

initialize Manipulate with different selection

Is it possible, and if so, how, to initialize the value of h when the value of g is changed, in the following Manipulate: ...
4
votes
2answers
158 views

Manipulate Controller - Simplex

Imagine you have three numbers a, b and c, and using ...
2
votes
3answers
125 views

Slider resistance and Play-Pausing with Manipulate, TabView, and attempt an granular TrackedSymbols?

Attempting to implement @Nasser's answer for How to avoid an expensive subset of a Manipulate computation when dependent variables have not changed?, using a ...
1
vote
2answers
167 views

Plotting in the “Manipulate” function - simple coding

Hello Mathematica community, my name is Preston! I have a real quick question that should be easy to answer. Alright, so for a research project that I'm involved it at my university, I need to ...
0
votes
0answers
32 views

Move the Animation Controls in a Manipulate Slider [duplicate]

Quick formatting question: How can I move the animation controls for a slider from underneath it to say, on the side? For example, I have this: But I would like all of those controls to be on the ...
4
votes
1answer
150 views

'Play' button in Manipulation and slow evaluations

I'm trying to create animation of some discrete process using Manipilate: ...
1
vote
1answer
142 views

Using Manipulate with a control variable for selective recalculation

I'm trying to adapt Nasser's method for using a control variable inside Manipulate to selectively choose what part of the code should be recalculated depending on the controls changed. I've also read ...
9
votes
2answers
217 views

How to avoid an expensive subset of a Manipulate computation when dependent variables have not changed?

I have a Manipulate where a portion of the calculation that ends up displayed is dependent on a subset of the Manipulate control ...
3
votes
2answers
184 views

How to make slider in/visible in Manipulate?

I need your help with making a slider invisible and visible in a Manipulate. Here is my code: ...
1
vote
1answer
97 views

In a manipulatable graph, display x values of all intersections with one of the lines?

I'm doing a project about Moore's law, I'm trying to create a graph that which you can manipulate, but I want the x-values of the intersections with one the lines to be displayed; how would I go about ...
0
votes
1answer
185 views

Animation of 2 Differential Equations - 1 Independent Variable

I have effectively 1 differential equation that had to be broken up into 2 (max number of steps reached). I have gotten the solutions for both using NDSolve and have plotted each together. Now, I am ...
3
votes
3answers
105 views

Zooming the interval arround $0.333\cdots $, whats wrong?

I'm trying to zoom the interval arround $0.333\cdots$ with: ...
8
votes
3answers
225 views

How to allow ContinuousAction on something that is not all

I have this code: DynamicModule[{r = 1}, Grid[{{Slider[Dynamic[r]], SpanFromLeft}, {f[Dynamic[r]], g[Dynamic[r]]}}]] While I move the slider, $f$ ang $g$ are ...
1
vote
1answer
123 views

Filling between quantile ranges

Following code plots Quantiles for a GBM process. ...
4
votes
0answers
127 views

DynamicModule, SaveDefinitions and global functions

Unfortunately, I had not checked stackoverflow, because there, the exact same behavior was already reported. Please see the Q&A "SaveDefinitions considered dangerous". Up-front, I'm on Ubuntu ...
2
votes
3answers
641 views

Plotting heat equation in a Manipulate expression

I have a 2D heat equation $u_t = \alpha (u_{xx} + u_{yy})$ with conditions: $u(x, y, 0) = 300$, $u_y(x, 0, t) = \mu_1(x)$, $u_y(x, 1, t) = \mu_2(x)$, $u(0, y, t) = \mu_3(y)$, $u(1, y, t) = ...
2
votes
2answers
188 views

Manipulate, Import external table, save as CDF, mail presentation

For my work I do data analysis. Most of these analysis are done on big databases with milions of records. I would like to make a manipulate (or animate) using a external dataset and create a CDF ...
0
votes
0answers
41 views

Manipulate freezing on large calculations [duplicate]

I have a sum that ordinarily takes some time (2 - 3 seconds) to calculate. When I put it into a manipulation though, it becomes very temperamental. It will work on some very small calculations, but ...
3
votes
1answer
120 views

Manipulate with formatted output

I would like to have 4 output fields for something like the following: Manipulate[ n*x n/x n + x n - x, {n, 1, 10}, {x, 1, 10}, ControlType -> InputField] but ...
0
votes
1answer
65 views

Slider moving in irregular steps

Sorry - bit of a yes/no question: Is it possible to make the slider from a manipulation jump in irregular steps? Or would the best way to overcome this be to just create a series of buttons that jump ...
3
votes
1answer
299 views

Combining Two Manipulated Plots Dependent on Same Variables

I need to combine two plots on the same graph to highlight the intersection of the two while being able to manipulate various parameters that are common to both functions. I need to have the slider ...
4
votes
3answers
159 views

PlotStyle with Table

I want to create a plot style with a table and manipulate the variables in the plot style. ...
5
votes
0answers
103 views

Manipulating the pitch of a sound

After reading Manipulating a continuous stream of sounds I have to ask about controlling the frequency of a Sin sound in a continuous manner, with a ...