# Tagged Questions

Questions on the Manipulate function of Mathematica, a function that allows the interactive manipulation of certain parameters in a Mathematica expression.

64 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 ...
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 ...
147 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 ...
139 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 ...
924 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 ...
109 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 ...
92 views

### Cloud deployment of a Manipulate expression

I would like to deploy the following Manipulate function, which works in a Notebook: ...
109 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 ...
623 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 ...
217 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 ...
142 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 ...
45 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 ...
33 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 ...
121 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[]. ...
100 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 ...
111 views

### Manipulate gets stuck when ConvexHullMesh is made transparent

Version 10.3 The followinng Manipulate is a bit slow, but quite OK ...
91 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 nonetheless....
179 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?
76 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 ...
152 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 ...
145 views

### Random variable within Manipulate: how to make it independent on other controls

The code sample: ...
80 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 ...
55 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 ...
173 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: ...
73 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 <...
162 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 ...
78 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]: ...
148 views

...
163 views

### FrameRate option for Manipulate [duplicate]

I'm using the following code ...
127 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 ...
249 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: <...
123 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 ...
52 views

### Mathematica Manipulate, Plot, Piecewise [duplicate]

I have two functions h2 and v2 that I need to graph using Piecewise and be able to ...
73 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: ...
49 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), ...
115 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 ...
129 views

### Evaluation inside a Manipulate

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

### Graph of second order polynomials [closed]

As I mentioned before, I want to write a notebook for teaching graphs of second order polynomials that shows discriminant and the conditions when a>0, a<0, having real roots, having no real roots. ...
135 views

### Rotate manually 3D graphics when (auto)playing

Is there a possibility in Mathematica to allow for manual rotation of 3D graphics when (auto)playing either using Manipulate or ...
275 views

### Object isn't fully displayed in DialogInput

Update: Here's a simper example to reproduce the issue: DialogInput[Table[InputField[], {50}], WindowSize -> All] On my 1366×768 screen only no more than 17 <...
84 views

### Increase Performance in the Manipulate Command

The code below pretty much looks like and does what I want it to. However, it is sluggish. I realize I have many calculations, and perhaps this is the best I can hope for. But if anybody has any idea ...
274 views

### Resizing or moving Notebook window causes Manipulate to update its argument

Bug introduced in 10.0 and fixed in 10.3.0 Check this example: Manipulate[Grid[{{RandomReal[10]}, {Plot[Sin[x], {x, 0, 2 Pi}]}}], {a, 1, 3}] As you can see, ...
63 views

### Control with label doesn't work properly inside Manipulate

Consider the following example: Manipulate[{1}[[i]], {i, {1 -> "a"}}] Execute it and you'll get: The correct result will be displayed if you select ...
438 views

### how to use InputField function within the manipulate function

I am trying to make a demonstration that can take in a matrix and create a vector field. Currently I have the demonstration all functioning but to define the matrix it uses sliders. I know they cannot ...
58 views

### Manipulate starts to recalculate infinitely

I'm fitting data inside Manipulate and it works good model = Evaluate[H1*complex[r, k1, 1]]; fitRes = FindFit[data, model, {H1, k1}, r, Method -> "NMinimize"]; ...
99 views

### How to prevent a definition from overwriting my input

I developed the following manipulate code to be a limited knockoff of Polking's dfield. I export the code to Enterprise CDF so that one may type a first-order ODE into the input box and create a slope ...
186 views

### Approximate UnitStep for use in Enterprise CDF

The following Manipulate code displays the VectorPlot for all functions. (This code is a subset of a more extensive notebook which is based on the structure you see below. Consequently, I need to ...
105 views

### Multiple interactive adjusters for multiple parameters including locator

I want to make a program that allows to vary multiple parameters via multiple adjusters. It may well be that this question has been answered already somewhere. However, I am pretty new to programming ...
77 views

### Showing Mathematica's dynamic UI in external Java programs

I want to run Mathematica from an external Java program and display an interactive app in my own Jpanel. Is it possible? When I tried using MathGraphicsJpanel, I am getting only the snapshot of the ...
84 views

### How do I animate just one variable out of three inside Manipulate/Not show line until Animate?

1) In the following code, I want to Animate just the Elapsed Time (t) variable. How do I write an ...