Questions tagged [manipulate]
Questions on the Manipulate function of Mathematica, a function that allows the interactive manipulation of certain parameters in a Mathematica expression.
2,101 questions
1
vote
0
answers
86
views
Dynamic Problems with Plot3D in Wolfram Cloud
I wrote the following code and uploaded it to WolframCloud.
...
2
votes
1
answer
175
views
Multiple selections for RadioButton or Checkbox
I would like to automate visualization of smooth histogram by selecting two datasets to compare. Can I create either a RadioButton or ...
5
votes
4
answers
430
views
Prevent error message on accidental mouse drag on dynamic 3d graphics
Here is an example how to use Dynamic inside Manipulate for smooth rotation. But it does not work for the following code.
...
5
votes
2
answers
473
views
Rotating 3D graphics with efficiency of front-end
Evaluate the following code and use your mouse to rotate the graphics - it is fluent without any delay.
...
2
votes
0
answers
64
views
Strange behavior with Manipulate in WolframCloud
I'm trying to make an applet that allows the user to input an equation v (say in x). However, I am getting a strange behavior ...
5
votes
2
answers
293
views
How to get the values of Manipulate control variables programmatically into some variables for further use
I would like to have the values of the Manipulate control variables {n, ph} programmatically into some variables
...
3
votes
0
answers
136
views
Animate a part of the image with the Rubik's cube. How?
I have this image and would like to create an animated GIF with the head moving like it's completing a Rubik's Cube.
Here I leave you part of the code that I have.
Could you help me? Thank you.
...
3
votes
1
answer
91
views
Numerical handling within Manipulate[] with variable number of parameters
This is a minimal example of a more complex problem. I need to build the Manipulate function as below with a variable number of parameters, which is why ...
0
votes
1
answer
104
views
Manipulate Plot With Graphics [closed]
This is my code:
...
7
votes
1
answer
248
views
Adjusting/Customizing Control Size in Manipulate[]
I'm looking to adjust the overall size of various controls in Manipulate[] (or just customize each control, in general). The best I could find is the option "ImageSize" but, at best, it just ...
2
votes
1
answer
142
views
show dimensionless parameter in Manipulate[]
Manipulate[T=2;Plot[x+t,{x,0,1}],{t,T,2T}]
I want to show in the control panel t as multiples of T rather than its numeric value. One can instead re-parametrize ...
1
vote
1
answer
99
views
Manipulate Not Updating Plot When Parameter Changes in Mathematica [closed]
I am using Manipulate to change a parameter in a system of differential equations solved with NDSolve in Mathematica. The system of equations is as follows:
I am using Manipulate to allow interactive ...
0
votes
0
answers
127
views
non-linear second order differential equation
I am faced with the following non-linear differential equation
$\frac{d^2x}{dt^2}+\frac{3}{p}\frac{dp}{dt}\frac{dx}{dt}=\frac{1}{x^3p^6}-2x$
I would like to find an expression for x in terms of p. Is ...
0
votes
0
answers
140
views
Why does Mathematica not recognize an exact polynomial after SetDelayed command?
I am using the numerical analytic continuation method to find quasinormal modes of the black hole 2 with $s=0, l=1$ in arXiv:2209.00679, please see Table 1 of arXiv:2209.00679. However, my code is ...
2
votes
1
answer
115
views
How fix error in Mathematica "NDSolve::ndsz: At t == ... step size is effectively zero; singularity or stiff system suspected" when using Manipulate?
I am trying to solve a nonlinear system of differential equations in Wolfram Mathematica using NDSolve and visualize the solution with Manipulate. However, I encounter the following error when running ...
0
votes
1
answer
125
views
Get simultaneously with the Atomic Number the range of available Mass Number
I want to use the Known Isotope of ElementData to choose a specific isotope $(Z,A)$, selecting the $Z$ (Atomic Number), then with IsotopeData I want to have the ...
2
votes
1
answer
115
views
Style options of Region don't hold when object changes from BooleanRegion to Polygon
I have this small code:
...
3
votes
2
answers
173
views
0
votes
0
answers
53
views
Expression in Epilog and Manipulate not evaluated [duplicate]
In the attached figure h1 doesn't show the Epilog properly while h2 does it properly merely by explicitly writing out the yy expression in terms of a. How to resolve this issue of the yy expression ...
0
votes
0
answers
68
views
How can I make an "app" that adjusts the number of user inputs based on the number of variables in an equation?
I'm trying to make an "app" that evaluates propagation of error for a user-inputted function. I want to make it where the user can type how many variables there are in the equation and then ...
0
votes
1
answer
147
views
heat equation-second order partial differential equations
I am dealing with the following set of pde
$\alpha(p,q)+2p\frac{\partial\alpha(p,q)}{\partial p}=0$,
$\frac{3}{2}\alpha(p,q)+p\frac{\partial\beta(p,q)}{\partial q}=0$,
$A\frac{\partial\alpha(p,q)}{\...
3
votes
1
answer
203
views
Can't plot this piecewise function [duplicate]
I have a function, int1[w] which incorporates two yet-to-be evaluated constants, u a positive real and ...
4
votes
3
answers
306
views
How to get the values of Manipulate control variables programmatically into a variable
Assume you have created the code for control Manipulate variables and the name thereof somewhere:
iter = {{a1, 1, 2}, {a2, 1, 2}};
var = {a1, a2};
Now you want to ...
0
votes
0
answers
98
views
Inconsistent results with SetPrecision in Manipulate
Here's as simple an example as I can construct to represent the issue.
The user provides 3 values: var1, var2, var3.
I use Symbol here because, in the general case, the user can change the number of ...
7
votes
1
answer
272
views
Limit the difference between two sliders in Manipulate
Consider this Manipulate
Manipulate[{x, y}, {{x, 0}, -2, 2}, {{y, 0}, -2, 2}]
Each of the sliders can move freely and independently. But, I want to impose a ...
4
votes
1
answer
155
views
Control label location in Manipulate
Consider this simple code:
...
2
votes
4
answers
182
views
Saving and recalling information in Manipulate using localized parameters
I want to allow users to enter some parametrized plots, using the variable t. I want the variable t to be localized to a ...
3
votes
1
answer
156
views
Coordinates of vertices in 3D
I have 10 vertices that are part of a set of 8 triangles. Initially they are:
...
0
votes
2
answers
84
views
Using Manipulate to Plot a Function and its Minima for a Changing Parameter
I want to display the function
$$ f(\phi)=E\bigg(\phi \log{\phi} + (1-\phi) \log{(1-\phi)}+\chi\phi(1-\phi) \bigg)$$
I have that $E=.505$. Now dependent on the value of $\chi$, the function $f$ has ...
0
votes
1
answer
105
views
Detent in Manipulate slider
I'd like to add a detent on a slider in a Manipulate. Here's an example:
Manipulate[u = If[Abs[u - 0.5] < 0.2, 0.5, u]; u, {u, 0, 1}]
The problem is, as you move ...
1
vote
1
answer
102
views
How to label axes in Slider2D?
I want to use a Slider2D to vary two quantities a and b. This works, but how do I label each axis?
...
1
vote
0
answers
157
views
How to remove excess white space around 3D plot inside Manipulate?
How should I eliminate all the excess white space in the panel displaying the graphics from this Manipulate?
The display:
The source code:
...
0
votes
1
answer
97
views
Parametric differential equations
I'm totally beginner in Wolfram. And I trying to do some research. If it's not difficult for you, please help me.
I have a system of three differential equations with four parameters: beta, delta, p, ...
0
votes
1
answer
107
views
Manipulating plot of DSolveValue
I am solving a heat equation in following example:
...
0
votes
2
answers
152
views
Plotting a set of equations [closed]
I have two following eqs:
$S = a M^2 + \beta + \alpha Log[a M^2]$
$t =\lambda^5 M^5 (3 + \lambda^2 M^2)/
3\delta (1+\lambda^2 M^2)^2$
where a, $\alpha$, $\beta$, $\delta$ and are constant parameters. ...
1
vote
1
answer
94
views
Manipulate and InputField Behavior
I'm trying to understand InputField behavior when used with Manipulate.
Here a small example:
...
1
vote
0
answers
49
views
Manipulator/Manipulate "StepRightButton" freezes below 0.5 step size
I noticed in version 14.1 on Win 11 that the behavior of the "StepRightButton" in Manipulator and Manipulate freezes ...
1
vote
0
answers
61
views
Apply options to many controllers
I have 5-7 controllers in Manipulation. Names and ranges are different,
but some options like ...
1
vote
0
answers
80
views
Saving data from a Manipulate's current state using a FormObject control
I would like to save a large set of data that has been computed within a Manipulate.
Here is a minimal example:
...
2
votes
2
answers
156
views
HoldForm Error for Illustrating Coordinates
I am having trouble illustrating tupoint[c, b, a, d, t] in the right diagram. When using the tax unit slider, the red coordinate should be moving along the graph - illustrating the current tax vs. the ...
0
votes
1
answer
82
views
Manipulate a RegionPlot domain defined by a delayed expression [duplicate]
Consider the following input:
temp := c
Manipulate[RegionPlot[True, {a, 0, 1}, {b, 0, temp}], {c, 0, 1}]
I expect to get a region plot with a manipulate slider ...
0
votes
1
answer
85
views
Manipulate module to plot function with long list of parameters
I have a function with a long list of parameters, for example:
...
2
votes
1
answer
172
views
Visualization of Minimization Problem
I am trying to visualize the objective function (f1), the constraint (isoq), and the optimal solution. The optimal solution is at the tangency of both graphs. I can plot the constraint, but the ...
0
votes
0
answers
113
views
How to efficiently find the series of quasi-normal frequencies using FindRoot?
I want to use FindRoot reproducing the following result in the table 1 of the article "Scalar gravitational perturbations and quasinormal modes in the five-dimensional Schwarzschild black ...
1
vote
1
answer
107
views
Controlling Manipulate using a mouse-over wheel scroll
Can I get Manipulateto allow me, once the plot appears, to hover my mouse over the plot and scroll my mouse wheel to vary the parameter $a$? Currently I need to ...
1
vote
2
answers
148
views
Programmatically establishing controllers for Manipulate inside a module
I am trying to create a module that allows users to cycle lists to look for a pattern and need a way to programmatically establish the number of controllers depending on the number of lists being used....
2
votes
3
answers
197
views
Speed up Manipulate when including several static 3d plots in Show
I made a dynamic vector visualization
...
0
votes
1
answer
99
views
Syntax regarding Manipulate plot with multiple functions
I am facing the following issue; I have the solution of a ParametricNDSolveValue and would like to plot several solutions with varying parameter in the same Manipulate to see qualitative differences. ...
0
votes
0
answers
74
views
Manipulate not showing despite Plot working fine
Heyhey I am trying to solve a differential equation for the time evolution of a probability distribution. It solves just fine using NDSolveValue and I am able to plot the solution for specific times, ...
1
vote
0
answers
47
views
Avoiding ugly errors in Manipulate (and alike functions) on start up of Notebook [duplicate]
When there are Cells containing Manipulate this often leads to Errors in cells right at startup.
Say I write
willReceiveValue={1,2}
in one cell and in another
<...