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

3
votes
1answer
166 views

Extracting data from NDSolve result

Normally I wouldn't ask such question before even read the material from the Wolfram Documentation about what I'm trying to do but this time I have a pretty tigh dead end. I apologize for that. So, ...
2
votes
1answer
117 views

Function not returning number [closed]

I am quite new to Mathematica and I guess this question is really basic, but I can't figure it out myself. I'm making a simple notebook that plots a Hamiltonian function, a plane of constant energy, ...
4
votes
1answer
116 views

How to display the controls where I want?

I would like to show the controls as in the image, but after I try ControlPlacement->Right and some combinations of Row[] and Column[], I can´t get the solution. Could you help me? ...
0
votes
1answer
83 views

Manipulate a graph from data

I want to manipulate some data, to do this i create a graph. But i don´t know how to manipulate the data. ...
3
votes
2answers
46 views

How to make a control label display traditional form notation

How do you make a control label display notation in tradition form? I would like the label to display the function "f(x)= (1/2)x+1" but in traditional form. How could I modify this code so it works? ...
5
votes
0answers
81 views

Manipulator reset bug

Bug introduced in 10.3 or earlier and persisting through 10.3.1 or later When the + opener is opened, two things happen: ...
4
votes
1answer
78 views

TrackingFunction not working properly if range containes a mathematical constant

Bug introduced in 10.0 and persisting through 10.3.1 or later Answering this question I had to realize that TrackingFunction isn't working properly if at least ...
14
votes
2answers
308 views

SaveDefinitions->True changes the displayed image

Bug introduced in 9.0.1 or earlier and persisting through 10.3.1 or later I have a Manipulate[ ] that displays an image with a superimposed ...
0
votes
0answers
69 views

How to scope all variables in Manipulate (to upload Demonstration)? [duplicate]

I'm using the Manipulate structure of the simplified form below in order to make Wolfram Demonstration. ...
3
votes
1answer
76 views

Why are PolarTicks displaying as decimals instead of fractions in Manipulate?

I'm building a graphing polar graphing palette to create graphs quickly. I setup a PolarTicks[] option to take in fractions using a slider in ...
2
votes
2answers
72 views

How to put Control Objects of Manipulate into Opener View

I am attempting to put a control object of Manipulate[] into an OpenerView[] which will allow me to hide and show controls. The ...
0
votes
1answer
43 views

Plotting an expression with a complex-valued exponential [duplicate]

Given the wave function $\Psi\left ( x,t \right ) = \psi\left ( x \right )T\left ( t \right )$ with the spatial component of the wavefunction $\psi(x) = \psi_{0}e^{-ikx}$, I tried ...
0
votes
0answers
22 views

Is it possible to create a button that shows another button on Manipulate[ ] function? [duplicate]

I want to create a program which allow us to choose an option, and depending on the choice, it may show new options. I want to apply this concept with buttons on a ...
0
votes
0answers
135 views

Manipulate for Electric Field

I'm kind of new to Mathematica but I'm getting the hang of it slowly. Anyways, I'm trying to do a project on the electric field of two particles so my professor helped me with this code (sorry in ...
4
votes
3answers
107 views

Showing results of the previous value in Manipulate plot

I want to show a multi-variable Manipulate plot with the current and last setting together but not using Bookmarks as I want to ...
4
votes
1answer
766 views

Circular membrane vibration simulation

I'm new in Mathematica and I'm trying to simulate the vibration of a circular membrane for math project but I don't even know how to start. The wave equation describes the displacement of the ...
1
vote
1answer
85 views

Graphing a pulsating sphere in a 3D vector field to illustrate divergence at point

I am attempting to create an interactive animation using Manipulate[] that allows me to move a point(or small sphere) around in a vector field to illustrate ...
2
votes
1answer
77 views

Cloud deployment of a Manipulate expression

I would like to deploy the following Manipulate function, which works in a Notebook: ...
4
votes
2answers
105 views

Manipulate in modal mode

It is sometimes convenient to use Manipulate to set up global values which are to be used in the rest of the notebook. In such cases one can select and run the ...
4
votes
4answers
538 views

How to select interactively datasets to plot with Manipulate

I'm using Manipulate to visualize three datasets: Manipulate[ListPlot[WHAT -> what], {what, {dataset1, dataset2, dataset3}}] Now with this solution I can only ...
3
votes
1answer
161 views

How to hide and show graphics within Show (in Manipulate)

There is a well documented way to "Dynamically Hide and Show Plots" (link). In the example 'Opacity' option is effectively used. Is there an efficient way to make the same functionality with "Show"? I ...
-1
votes
1answer
99 views

Fabry-Perot interferometer using Airy function in Mathematica

I am trying to plot T(transmission) and R(reflection) coefficients. I am new at Mathematica, so please excuse possible crude errors. This is my code: The output gives just an empty animation ...
0
votes
0answers
39 views

Order of evaluation for numeric functions

I'm trying to plot a 3D vector field to illustrate an electric field of a uniformly charged disk, and I used Manipulate to change the radius R of the disk to see ...
0
votes
0answers
31 views

Jagged look in PolarPlot with cycles > 5 [duplicate]

While developing my submission “An Asymmetric Spirograph” http://demonstrations.wolfram.com/AsymmetricSpirographs/ I ran into a problem with autorun: the drawings look very jagged. It turns out this ...
-3
votes
1answer
107 views

Error in Manipulate [closed]

I am trying to create a button which will give random values for certain parameters. I am using the following in Manipulate[]. ...
1
vote
1answer
80 views

ClickPane and InputField entry in a Manipulate

By clicking at a point on the slope field for an ode, a solution is plotted through that point. Additional clicks produce more plots; the plots are saved in graph ...
2
votes
1answer
99 views
2
votes
2answers
68 views

How to scope variables in Manipulate (for Autorun)

This question is connected with that one (and all other connected). The purpose is to make a demonstration that has a Dynamic part among controls (I'm aware that it is not recommended, but ...
0
votes
0answers
78 views

Show the number of rectangles under a curve

I am trying to manipulate the number of rectangles under a given curve, so far I can show the size of each rectangle, but I am not sure how to tell the number of rectangles. ...
4
votes
1answer
140 views

Can I label a Manipulate panel?

I wasn't able to find a way to label a Manipulate panel (not the sliders, etc.). Is it indeed not (directly) possible?
0
votes
1answer
66 views

How to solve a linear system inside Manipulate and use the result for Plot?

I typed a code for showing a plane and a line, and solve a system, but I can´t show the intersection, because I don´t know. Here is a minimal working example for understanding my problem ( the real ...
7
votes
1answer
130 views

Manipulate: strange behavior of Manipulator

Bug introduced in 10.2 and fixed in 10.3 Consider this simple code: Manipulate[n, {n, 1, 5}] When we evaluate it, we'll get Now try to click on the little ...
4
votes
1answer
62 views

How to get function output with Manipulate

I have a program, which makes Gauss-Jordan transformations (not too pretty, I suppose). I want to get output with Manipulator like that: Two-Phase Simplex Method with only "step number" slider. One ...
0
votes
1answer
45 views

Parameters of Ellipsoid dependent of other variables in Manipulate

I'm very new to Mathematica; I'm trying to use it to display a Manipulate of an Ellipsoid that contains the parameters dependent of other variables. For example, my ellipsoid equation ...
3
votes
1answer
125 views

Animating magnetic field lines on a circle

So I want to create a changing vector as a function of theta and have it's origin stay on the path of a circle. The vector I want to plot is: ...
2
votes
2answers
63 views

How can I use an InputField value as a variable name to save to?

I'm trying to save some settings and results from Manipulate, and I want to be able to save them to different variable names. The code I have is something like ...
6
votes
3answers
150 views

Determining closest lists near any selected point

I'm plotting several lists of data (constant lines of density, temperature quality, etc. on a pressure-enthalpy diagram), none of which are fitted well by ...
4
votes
1answer
72 views

How to get a 2D Plot from a 3D plot?

I have the following code below, that relates Concentration C[x,t], Time [t] and Space [x]: ...
1
vote
1answer
79 views
2
votes
0answers
112 views

Animate FromQuarternionTo3DRotation nb file with 4 quarternion values

I have a csv file. Inside the csv file, there are few rows of 4 quartenion values. I would like to animate the quarternion nb in http://demonstrations.wolfram.com/FromQuaternionTo3DRotation/ I ...
9
votes
1answer
154 views

How to visualize a random forest classifier?

I'd like to recreate this visualization (from python) in Mathematica: I'm not sure how to extract the decision boundaries from a classifier with "Method" set to "RandomForest". Here's the code: ...
4
votes
2answers
110 views

Get value of symbol

ab := {{a, 10, 100}, {b, 0, 10}} Manipulate[a*b, Evaluate[Delete[ab, 0]], Button["SHow", Print[Evaluate[Symbol[ToString[ab[[1]][[1]]]]]]; Print[a, "---", b]]] In ...
2
votes
0answers
50 views

Mathematica Manipulate, Plot, Piecewise [duplicate]

I have two functions h2 and v2 that I need to graph using Piecewise and be able to ...
1
vote
0answers
60 views

how to get user defined functions in Manipulate [closed]

I am trying to write a demonstration that plots user defined function and uses this function for further calculations. I tried the following code: ...
1
vote
1answer
42 views

Manipulate - strange behaviour with NSolve (I suppose)

I have written the following code for a mechanical calculation. The calculation works, but as soon as I try to use Manipulate(needed to generate a .cdf after all), ...
1
vote
1answer
110 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 ...
2
votes
3answers
100 views

Evaluation inside a Manipulate

Let's assume I have a symbolic expression, and inside a Manipulate I define the actual values: ...