# Questions tagged [manipulate]

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

1,651 questions
Filter by
Sorted by
Tagged with
44 views

### Marking the minimum point of a quadratic

Clear[a] Manipulate[ Plot[ a*x^2 + 2*x + a, {x, -40, 40}, PlotRange -> {-15, 15}], {a, -10, 10}] I want to mark the minimum value in this range with a blue ...
38 views

### Manipulate a plot of coupled differential equations

Good afternoon, I am attempting to construct a graph showing the trajectory of two variables over time, based on a coupled system of differential equations and some arbitrary initial conditions which ...
26 views

### Using and Naming different sets of data in a manipulated chart/plot

I am trying to visualize advertisement data from amazon which is comprised of a dozen or so campaigns, each of which has three subgroups and each subgroup has its own performance data (metrics). ...
90 views

### Simple Manipulate produces front-end freeze

I am using Mathematia 12.1 on Windows. I experience a front-end freeze when I evaluate a certain Manipulate expression. I have reduced the code down to a rather ...
99 views

### adding a point in a manipulate command

I am having trouble adding a point to mark the Min values of each parabola when using the Manipulate command? ...
56 views

### a “Calculate” button for Manipulate with Locator points

Looking for a methodology where the user can move the points of a Locator and then click a button to ask for calculations to proceed. The motivation for this is that the calculations of the full ...
30 views

### Error when using Manipulate[Plot]

I'm trying to create a plot that varies from m = 0.1 to m = 1 but when I use Manipulate, I can't get anything to show up and I get approximately 50 quintillion errors. I think it has something to do ...
42 views

### Compact notations for multiple variables

Why does this work Manipulate[ListPlot[{a,a,a}], {a, 0, 1}, {a, 0, 1}, {a, 0, 1}] But this doesn't? ...
88 views

### Super Slow Manipulate with Heat Equation - - Assumption, and Interpolate

Aim: solve coupled heat equation with cubic source, use DensityPlot and observe how system will react to changes in parameter(like kand ...
45 views

### Getting error when I substitute PDE for ODE

The following code works perfectly: ...
49 views

### Manipulate - Use values from list without displaying the values [closed]

I have a set of different sensors which all have different names and corresponding sizes. I often need to choose a certain sensor and I want to choose it by its name. I then need mathematica to do ...
43 views

### Having trouble with a Manipulate showing a ContorPlot and the results of NSolve

I am using a manipulate on a ContourPlot and a NSolve, the code is the following ...
40 views

### How to make value of HorizontalGauge be continuously updated in Manipulate?

I wrote the following code: Manipulate[HorizontalGauge[Dynamic[x], {0, range}], {range, 5, 10}] I want to plot a HorizontalGauge...
82 views

### Colors in Manipulate[] plot change during execution

UPDATE WITH WORKING EXAMPLE Following what @Kuba said, I've attempted to find a MWE that shows the problem without too much of the other stuff, and here's what I've done. Here's a couple of new GIFs ...
41 views

### Why the horizontalgauge can not be directly added to the control part of manipulate[]?

I try to use horizontalgauge in Manipulate as following: Manipulate[ Graphics[Disk[]], HorizontalGauge[Dynamic[x], {0, 100}] ] but it didn't work, but if I ...
68 views

### Why is the stationary solution showing different behaviour than that of plotting maximum and minimum separately?

I am trying to plot the stationary solution of the function given below w.r.t. a parameter c as follows ...
38 views

### Reset sliders to default (zero) when a PopupMenu item is selected

I am setting up a UI with sliders that are enabled or disabled according to the item in a PopupMenu. I have been trying to figure out how to reset the sliders to ...
25 views

### Not able to globalize variables from a manipulate expression

I am attempting to globalize the variables inside of a Manipulate expression for which my variables are also using interdependent controls. I have attempted to use <...
52 views

### Manipulate for average value of a function

j[t_]=(9 t)/(81 + t^2)^(3/2) s[b_,t_] = 1/b * NIntegrate[j[t],{t,0,b}] Plot[s[b,t], {b, -15, 15}, PlotRange -> {-0.04, 0.04}] ...
86 views

### Dropping curly brackets from a list [closed]

I would like to make many plots using the same plot parameters. I am trying to define a plot parameter list such as ...
245 views

### Slider with ticks

I am not happy with the "Labeled" appearance of the slider in Animate or Manipulate. Instead, I wish ticks with multiple of pi under the slider. ...
152 views

### How to construct an IF statement within Manipulate with various stopping statements

Take the following data: ...
22 views

### Initialize Global variables with manipulate

I would like to use the result from a dynamic matrix for calculation, but I don't know how to return a global variable from manipulate. Please help me, I'm new to mathematica. Any suggestion would be ...
26 views

### Create a dynamic growing list in Manipulate from data obtained by URLExcecute of API

I have a test API which sends me data from one or more tags in a SCADA/Historian system. For one tag, I refresh the API call every 5 seconds and generate a simple ListPlot[] of this single current ...
180 views

### How to link Manipulate to specific questions to activate sliders

I have the following multiplication Manipulate: Manipulate[ x*y, {x, 1, 10}, {y, 5, 15} ]; When you run ...
51 views

### Manipulate updates due to variable changes outside manipulate: can this be stopped?

I have created a large notebook where i have two or more manipulates whose execution is supposed to wait till I click an update button. The button operates a dummy update variable which is tracked in ...
64 views

### How to manipulate a system of equations

I have the following Manipulate[] working just fine. ...
74 views

### Question about Working with Lists / Tables

I have a data point set embedded in a manipulate. dtpts1a={{X,Y},{X,Y},{X,Y},{X,Y},{X,Y},{X,Y},{X,Y}, and so on and so forth, continuing} How do I alter, how do I change the magnitude of each ...
45 views

### Table does not give out any output while Animate or Manipulate work [closed]

I was playing with this program and I noticed that I can use Manipulate or Animate, but Table...
74 views

...
28 views

### How to include a meter in Manipulate that shows a value calculated from the manipulate dynamic variable?

I'm trying to make a visualization of grid (representing magnetic states) and I want to include a meter that shows a variable calculated from the manipulate index (of the form ...
32 views

### Plotting eigenfunctions as functions of parameters in the hamiltonian

I'm finding eigenfunctions using NDEigensystem of various hamiltonians. For example, the hamiltonian with Shcrödinger's equation: $$H u(x)=-\hbar^2 u''(x) + A x^2 u(x).$$ I would like to be able to ...
63 views

### Performing iterated integrals

I would like to define a function $f_n(x)$ and plot it with Manipulate. The function is defined by  f_{n+1}(x)=\frac{1}{\int_0^1(f_n(x'))^2dx'}\left(\int_0^xf_n(x'...
60 views

### Find a sublist with closest X and Y to a specific point in 3D

I have the following list of points and would like to know how I can find the sublist (i.e. point) which has a closest X and Y value to the X and Y value of a specific point (e.g here b1 ={{-20.6105, -...
37 views

### How do I use the Manipulate-function with GeoGraphics? [closed]

I'm trying to use the Manipulate function with GeoGraphics like so: ...
64 views

### Manipulate function [duplicate]

I'm trying to generate this simple graph using the Manipulate function f[x_] := a x + b x^2; Manipulate[Plot[f[x], {x, 0, 1}], {a, 0, 1}, {b, 0, 1}] However, ...
83 views

### Dividing a long code into parts

I have long code that I would like to divide in several parts (for readability) to be saved in different files. Then, later, I could use those parts into a different notebook. The parts I am thinking ...
36 views

### Manipulate: variable localization inside nested Control

Below is a piece of my code I have trouble with: ...
78 views

### How can I prevent TabView from resetting the current tab?

This is a simplification of a problem that has arisen in a project regarding Euclidean activities for verifying proportions via operations on pairs of magnitudes. In the project, the LocatorPane is ...
79 views

### Exporting a Manipulate/Animate with sound to create a Video

In the Documentation of Video (under Scope, 4th example) a Manipulation is combined with audio and exported as a file.mp4 video: ...
28 views

### Graphing with a special condition on the constant

My Attempt So Far Putting in Particular Values of our Parameters ...
62 views

### Listing numbers whose digit sum is greater or equal 5

I just started using Mathematica and at the moment I'm learning some things. As you can see in the headline, I want to make a list of numbers (up to 100) whose digit sum is greater or equal 5. I ...
39 views

### Blank plot is returned when trying to use Manipulate[Plot3D…] on the output function of NDSolve

I am currently trying to solve a transient cylindrical diffusion problem with space variable (r,z). Using NDSolve, I get a certain Interpolation function but I can't plot it no matter what I try. ...
31 views

### setting slider for multiple sets of manipulating variable Manipulate

I am working with data and using manipulate function. I have two sets of values in the manipulating variable list which I combine to form a single list. So, the increment which forms the first set won'...
29 views

### sequential execution of a group of commands (subroutine like)

I have a set of data all formed via AppendTo and like to apply them synchronously and consecutively to a group of commands, much like a in a subroutine. The commands in that "subroutine" are not ...
56 views

### Using Manipulate with inequality constraint

I'm trying to manipulate the plot of the following function: ...
51 views

### About function with Manipulate and order of evaluation

I have many problems to understand how mathematica evaluates Manipulate[] when I use function before or inside Manipulate[] . ...
21 views

### Error when using limit of sum as parameter

Here is my code so far, which works when I set an upper limit for the sum in F: ...