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

0
votes
2answers
55 views

Not seeing plot of solution returned by NDSolve

I am having trouble with generating a parametric plot with the following code: ...
3
votes
2answers
57 views

CDF of experimental data

Here is data.csv: ...
1
vote
1answer
47 views

Combine 3D plots into one with Manipulate and different region plots

The following script generates two plots in a row, both of them controlled by Manipulate. I would like to combine them together in one. The problem I don't know how to solve is that the plotting ...
3
votes
1answer
42 views

How use TraditionalForm input in InputField?

Inside a Manipulate, I'd like one of the controls to be an InputField and to allow the input entered to be in traditional form. ...
0
votes
1answer
20 views

Size of the box using Manipulate function

I am using the following command: Manipulate[Graphics[Arrow[{{0, 0}, {a Cos[ω t], a Sin[ω t]}}]], {t, 0, 10, 0.1}] In order to display a vector in circular ...
2
votes
2answers
61 views

Dynamic visualization of two histograms

I have two histograms histo1 and histo2: ...
1
vote
2answers
56 views

How change style of InputField in a Manipulate?

Is it possible to specify a style, e.g., font size, for InputField type controls inside a Manipulate and if so, how? For ...
0
votes
1answer
31 views

Problem with showing results in a Manipulate in a cdf-file

I have a problem with showing my results correctly in a Manipulate in a cdf-file. My program (for my bachelor thesis) can calculate the income law with a income entered into an input field; the use ...
1
vote
1answer
47 views

Dynamically Update both a HorizontalGauge range and the value

I'm developing a demonstration that allows students to explore the location of a point on a number line simultaneously at various scales. I'll show a very simplified version here to get to the nub of ...
0
votes
1answer
32 views

Manipulate - Plot - Function with Parameters [duplicate]

dear community! How do I make this construction work? ...
0
votes
0answers
21 views

Manipulate and Plot, How to keep vertical axis still? [duplicate]

Consider this: Manipulate[Plot[1./n*Sin[t], {t, 0, 10}], {n, 1, 10}] When I change n, I expect the height of the plot ...
0
votes
0answers
32 views

How to fix the PlotRange on LogPlot? [duplicate]

I'm plotting families of Boltzmann'esque distribution functions $\propto\exp\left(-{\dfrac{\varepsilon+{\mathcal O}(\varepsilon^2)}{k_\mathrm{B} T}}\right)$. But it won't let me fix the ...
1
vote
1answer
20 views

Using MatrixForm in a Manipulate

I have declared some lists vAwG = {{{0}, {0}}, {{1}, {1}}}; psi = {0, 1, 2, 3}; vBwB = {{{1}, {0}}, {{0}, {1}}}; and created a function ...
1
vote
2answers
36 views

Updating Manipulate output from within a Button

Consider this (edit: Pause[3] represents some long computation the button should do): ...
6
votes
2answers
147 views

There is an issue with Manipulate in which it updates its argument twice in V10

I have asked this question before (here) and I thought that the issue is only when moving the Notebook window. It appears that Manipulate is working in weird manner. ...
2
votes
1answer
64 views

Pausing a dynamic display

I'm trying to display some graphs, which were defined with plot above this line of code. The parametric plot moves through all of the x values, the others are stationary. I would like the parametric ...
0
votes
0answers
30 views

How can I combine an acceleration value with a VectorDensityPlot

I've seen that graphic and found that documentation and wanted to combine those two ideas within a Manipulate command like that: So I've two questions: How can I draw a dot in the ...
0
votes
2answers
54 views

how to control the limits of two variables in manipulate

This is my code. myPlot[a_, b_] := ParametricPlot3D[Sin[x], {x, a, b}]; Manipulate[Show[myPlot[a, b]], {a, -1, 1}, {b, -1, 1}] I want to manipulate ...
1
vote
1answer
40 views

Auto generate parameters in Manipulate

I have a manipulation problem that I can't find a solution online. Here is a simple example from my case. ...
1
vote
0answers
78 views

Simulations using alternative initial conditions

With help from some of you guys here in this forum, I have developed the following code, which works perfectly. My questions are: how to automate the simulations with varying initial conditions. In ...
9
votes
3answers
94 views

Resizing or moving Notebook window causes Manipulate to update its argument

Check this example: Manipulate[Grid[{{RandomReal[10]}, {Plot[Sin[x], {x, 0, 2 Pi}]}}], {a, 1, 3}] As you can see, moving or resizing the Notebook window causes ...
0
votes
1answer
83 views

Manipulate of graphics + ParametricPlot [duplicate]

Edited at bottom - I think the problem is my unwise expectation to overlay Plot___ over Graphics objects and magically have them scale. I have an entry-level manipulate that shows how a cycloid is ...
3
votes
3answers
109 views

Difference in rendering speed between slider and step forward in Manipulate

Consider the following Manipulate: Manipulate[Plot3D[Sin[x] Cos[y], {x, 1, 5 a}, {y, 1, 5 a}], {a, 1, 5}] When trying to step forward clicking the line of the ...
1
vote
1answer
44 views

Function does not initialise variable as changes are made in the manipulate function

My function "DefineRss[]" takes in three arguments and outputs a plane value. It sits in the first argument of the function plot3D and that in turn sits in the manipulate function The function also ...
2
votes
1answer
62 views

Writing a procedure that invokes Manipulate[]

I would like to write a procedure with the signature: Foo[vars, params] which produces a Manipulate object. The procedure ...
0
votes
3answers
73 views

Trouble using Manipulate and NDsolve for coupled ODE's

I'm aware that there are a few threads on the topic of solving coupled ODEs using NSolve and Manipulate. Based on those, I wrote the following code, solving my system of equations: ...
4
votes
3answers
172 views

Manipulate: How to create custom reset Button automatically?

I have a complex Manipulate with more than 10 controls. Each one has its own default value. I'd like to add a custom button in the control area to reset all ...
2
votes
2answers
53 views

List of parameters to manipulate from an external list

I am trying to achieve the functionality of the following command: Manipulate[ z, {z, 0, 1}] but with passing the list of parameters into ...
1
vote
2answers
102 views

How do I remove the quotation marks from each element of a list containing dates that I have import from excel?

I've been stuck in this problem for 1 week. I just want to make a graph (Log-Return vs time (in year, month, day)). The code is: ...
0
votes
0answers
76 views

I am trying to solve a set of coupled differential equations with known boundary conditions using mathematica [duplicate]

Here are my differential equations and boundary condition. ...
1
vote
1answer
42 views

Hiding a Manipulate slider

I want to generate a different random initial condition for rule 110 using a Button for Manipulate, not a slider. How can I make the slider invisible here? I tried specifying ...
1
vote
1answer
52 views

Possible to dynamically redraw single plot of multiple shown together?

I am attempting to create a tool to visualize gradient, eigenvector, and eigenvalue information for a 2D surface. I want to show a contour plot of an inputted function and overlay the gradient and ...
2
votes
1answer
74 views

ControlType -> None Vs. Module inside Manipulate (i.e. making everything local)

I'm building a program on another one made available in the Wolfram Demonstration Project. I've noticed that in the original code (working flawlessly) many variables were made local inside the ...
1
vote
0answers
53 views

Version incompability Mathematica 10 CDF Player 9

I have aleady looked at these two questions: Is there a CDF Player for Mathematica 10? and Problem with NDSolve in Mathematica 9 / 10. My problem is as follows. I am simluating neurons, which ...
1
vote
1answer
56 views

TogglerBar with arbitrary dimensions

I'd like to split my TogglerBar into several rows, with it's length given in a list. I found the Appearance options, but they ...
5
votes
2answers
93 views

Manipulate: Play the animation only once and stop

I do small animations with Manipulate, but sometimes I don't like that it runs over and over again from start. I would like to have the possibility to stop the ...
3
votes
2answers
74 views

Toggle plot visibility of dynamic number of data sets

I have multiple curves in my plot, and want to be able to toggle their visibility off/on. Which I got to work thanks to a different post. ...
1
vote
1answer
72 views
10
votes
2answers
164 views

Synchronizing the camera view of multiple Image3D panels within a Manipulate interface

I'm trying to synchronize the camera view of multiple Image3D panels displayed within a Manipulate interface. A random 3D image ...
2
votes
2answers
142 views

How to show surfaces as a implicit plot in 3d?

I was trying to show a feasible region with these lines: ...
0
votes
1answer
31 views

Full superset not displayed on Manipulate slider

I wish to incorporate ODE solution with Bondary condition sets: ...
1
vote
1answer
48 views

Manipulate duplicates the output

I not sure if the question has been asked or not. I tried to find something similar without success. I have this small code: ...
0
votes
1answer
103 views

How would I use sliders to manipulate the slope and intercept of a plane in a graphics 3d box while the cdf was running

Would I link a slider value to a polynomial that represents the plane and draw it in the draw plane a function, Or, is there a way that would allow me to have sliders in the draw plane function ...
7
votes
3answers
266 views

Interactively inspecting parts of an object

There have been times when I want to find the structure of an object in order to extract some part of it. For example, extracting the x and y coordinates from a Graphics object generated by Plot. I ...
1
vote
1answer
119 views

Wavelet transform of data with sliders

I saw a beautiful application of wavelets applied to a randomly created data series of about 500 data points. It used the Haar wavelet and had two sliders. The first slider allowed the user to view a ...
1
vote
2answers
90 views

How to adjust the animation rate in a Manipulate environment

The enclosed code is a simplified version of the "Make Your Own Solar System" demonstration. How do I remove the manual Faster and Slower animation controls and add code for a permanent very slow ...
2
votes
1answer
104 views

Manipulate: ListPlot and Labeling

I am trying to make a set of scatterplots where the 'u' value is a year. I am using the following dataset: ...
1
vote
1answer
121 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
90 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): ...