Questions tagged [manipulate]

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

Filter by
Sorted by
Tagged with
5
votes
1answer
42 views

How to extend the DefaultDuration of Manipulate[] when it has Bookmarks?

How to extend the DefaultDuration of Manipulate[x,{x,0,1},Bookmarks->{"beginning":>(x=0),"end":>(x=1)}] to 20 ...
0
votes
0answers
20 views

Referencing a control from within a module

Below is a simple Manipulate that references a module via a button, which resets a slider and value. I would like to reference and reset the slider control for the slider "n" from within the module "...
0
votes
1answer
63 views

How to auto-rotate a MeshRegion?

I have a 3D MeshRegion region1 as below: ...
2
votes
1answer
46 views

Controlling Manipulate in cloud deployment

Suppose I want to create a web app which duplicates (for simplicity), something like Manipulate[Plot[Sin[n x], {x, 0, Pi}], {n, 3, 10, 1}] ...
0
votes
0answers
36 views

Animation (Manipulating the cubic)

Consider the cubic f(x)=x^3+2x^2-28x+2, defined on the interval [-10, 10]. Draw a red chord between two points on the cubic. (That is, choose two points on the graph and connect them). Through the ...
1
vote
1answer
51 views

Manipulating two parameters of a plot

I am wondering if it is possible to manipulate/animate two (or three) parameters in a plot. I would imagine this would work, but doesn't: ...
0
votes
0answers
34 views

Why does Mathematica run amok in this Manipulate Plot

The following makes Mathematica 11.1.1.0 run amok on my system, and I have no idea why: ...
0
votes
0answers
141 views

How to animate this fluid flow over airfoil?

I found this website very interesting "http://bugman123.com/FluidMotion/index.html" here he provided various animations of fluid flow and some codes are given in Mathematica. I found this animation of ...
1
vote
2answers
37 views

How can I hide the controllers in ListAnimate?

Consider the following expression: ListAnimate[{1, 2, 3}, Paneled -> False] which produces: I can hide the panels with ...
0
votes
0answers
46 views

Manipulate and Parametric plot not show anything.Why?

My aim was to map a semi ellipse to a semi-circle, for different values of ellipse parameters to a circle of different radius. So I have written a code in Mathematica. ...
0
votes
0answers
55 views

Why the StreamPlot and NDsolve diverge about this vector field?

I frequently use Streamplot and NDSolve for representing vector fields and their trajectories. But for the first time these tools present different dynamics. How can I fix it? I am putting here the ...
1
vote
0answers
51 views

Deforming a unit square into a cylinder [duplicate]

I am new to Mathematica and I am trying to create a flat unit square in the x-z plane made out of polygons with vertices that divide it into equal-length intervals on each side. Then manipulate this ...
5
votes
3answers
143 views

Creating specific options in `Manipulate[]`

Suppose I want to manipulate the plot of $A\sin(\omega t)$ with specific combinations of 3-parameter values, say $A$, $\omega$ and PlotStyle[]. ...
0
votes
0answers
45 views

Why StreamPlot with Manipulate not working?

I'm new to Mathematica. Trying to learn by solving simple problems from textbooks. I was trying to use StreamPlot with Manipulate. Some case it works and other cases it does not I don't know the ...
0
votes
1answer
49 views

Why is Manipulation not creating a graph?

Why does manipulation not give a graph? ...
0
votes
0answers
28 views

Use Manipulate where there are fixed parameters and one varies in an interval

I manually give values to $R$ and I get different graphs similar to plant leaves. I would like to do it continuously, with Manipulate, in the interval $ 1.07\leq R \leq 1.71 $. Whether the leaf is ...
0
votes
1answer
41 views

Changing the value of a variable based on output of manipulate

I'm trying to use the output value of a manipulate to define a variable that will be used for a calculation. I've created a minimal example of what I'm trying to do. In this case, I'd like to use ...
3
votes
1answer
95 views

Constructing a 2D curve from a curvature function dynamically

I want to plot a curve starting from its curvature function and some initial conditions. This code generates a 2D curve with a given curvature (fun) and some initial conditions: ...
1
vote
1answer
79 views

Speed of Manipulate with Plot3D & ParametricPlot3D [closed]

I am trying to generate a 3d animation showing two ripples interfering at a point which can be chosen. In my 3d modelling, I want to show the cross-section of the ripple towards that point. I wrote ...
0
votes
0answers
29 views

Manipulating a One-Dimensional Plot of ParametricNDSolveValue

I am trying to use manipulate with a plot of a numerical solution to a system of two coupled differential equation solved using ParametricNDSolveValue. I have ...
0
votes
0answers
44 views

Plotting the solutions of parametric NDSOLVE[] as a function of its parameters

I am trying to solve a 2 set of coupled differential equations one using parametricndsolve and other using *ndsolve . So far I am successful in solving these equations. The solution I found by using ...
2
votes
0answers
82 views

Drawing a cyclogon

Is it possible to draw the path of a point on the boundary while the polygon is rolling, or writing a function of theta similar to the cycloid parametric equations: $$ x = r (\theta - \sin(\theta)),\...
1
vote
1answer
31 views

Rotation of triangle interfering with axis color

I'm trying to demonstrate an interesting problem in geometry: Rotate the red triangle -Pi/3 but when it hits the x-axis, the red line segment disappears apparently behind the black color of the axis. ...
1
vote
2answers
89 views

Using Manipulate with CloudDeploy

This is my code: ...
4
votes
2answers
71 views

Want to manipulate and visualize differential equation of a falling object

I am trying to get ahead of my upcoming semester by visualizing a differential equation of a general ODE solution for falling objects with the given solution of $$m\frac{{dv}}{{dt}} = mg - \gamma v % ...
0
votes
0answers
69 views

How to see/trace Manipulate steps?

I am relatively new in Wolfram Language. What I want to solve is tracing "manipulate" steps in one of the demonstration project example codes. In my particular example, there are nearly 20 user build ...
0
votes
0answers
42 views

DSolve Varying Base on Implementation

I am trying to understand the behavior of a system of equations that is derived from: ...
0
votes
0answers
89 views

Blank graph on offline mathematica

I am looking at the following plot: ...
2
votes
1answer
38 views

NDSolve error with manipulate for 2 coupled ODEs

While trying to solve a system of coupled ODEs (for EVE[t] and FTZ[t]) with Manipulate, I ...
0
votes
0answers
35 views

Issue with Manipulate (in order to fit) of complicated Parametric NDSolve

So I have a quite complicated ParametricNDSolve : ...
3
votes
1answer
53 views

Input list within a Manipulate (Setter)

I would like to make an interactive "to do" list with a SetterBar where I can click on the Chapter, and get a list of tasks I can add to or delete within the ...
1
vote
1answer
18 views

RecursionLimit errors on Manipulate a DensityPlot expression

I am trying to do an interactive visualization of a very simple neural network (inspired by tensorflow playground): ...
3
votes
1answer
39 views

How to add a Locator to a Manipulate / ListPlot?

I have the following Manipulate to graphically show the n-th roots of unity: ...
3
votes
1answer
56 views

Manipulate too slow for rigid transformation of 3D object

I am trying to write a code that moves a cylinder inside another (a prismatic joint). Manipulate is very slow and I suspect that this is because the position of the movable part is being computed and ...
1
vote
2answers
80 views

Manipulation Parameters with Conditions

I have a list, and length of this list can be changed sometimes. I want to define manipulation parameters inside "Manipulate" according to length of the list. For example: ...
3
votes
1answer
58 views

PlotRange with InputField in Manipulate

Trying to understand work of InputField in Manipulate. My example code is: ...
2
votes
0answers
32 views

Programmatically Inject Logical Vector into Manipulate Checkboxes or Vice-Versa

I am building a large Manipulate application with about 50-60 checkboxes through which the user can select entities to be drawn on a main canvas. The main drawing routine, called from within ...
0
votes
0answers
33 views

Saving variable inside Manipulate command

I have been working in a plotter using "manipulate", I let the code below. However, I would like change between different kind of "options" that I will add them after, the problem is when I change to ...
1
vote
0answers
28 views

Kernel runs continously with Manipulate Block inside Package, not notebook

I recently moved an Manipulate block from a notebook to a package (.m file). The original manipulate called functions from the package in the form of Package`f(x) and was used in the Manipulate. The ...
2
votes
1answer
31 views

How to manipulate a plot of partial derivatives of self-defined bivariate functions?

I have a piecewise linear function (spline) describing a progressive income tax schedule, with higher marginal rates kicking in for higher and higher incomes. I want to understand the implications of ...
1
vote
1answer
32 views

Plotting a Histogram3D with time (a file per frame) as parameter?

I've been working for a few days trying to make a dynamic histogram on Mathematica, but I can't seem to make it happen. You see, I'm fairly new to working with Mathematica and thus lack some knowledge ...
-2
votes
1answer
95 views

How to use Manipulate for protein sequence alignment?

I have the sequence of a protein from Chain A and Chain B and I want to use Manipulate to show what parts of sequence are identical. This is what I have: ...
1
vote
1answer
81 views

Why is an empty plot produced?

I am trying to plot the values of the functions f[x] and der[x], but I am getting an empty plot. I am new to both Mathematica ...
0
votes
1answer
41 views

Manipulate NDSolve

Can anyone help me? This is my code: f[x_ ] = x Exp[I z]] (Cos[z]] BesselJ[l, a *x] - BesselY[l, a *x] Sin[z]) u=0.1 v=6 on the other hand hand: ...
2
votes
1answer
46 views

How to change font size of numerical value of a slider parameter in Manipulate[Plot]?

I start with the very simple Manipulate of a Plot: Manipulate[Plot[Sin[omega*x],{x,0,5*Pi}],{omega,0,3}] I know how to customize a bit the slider, so as to have ...
0
votes
1answer
52 views

Manipulation of a plot computed in several steps

the following test works for fixed parameter si: ...
0
votes
1answer
50 views

Problem with manipulate solution NDSolve and initial condition

I'm getting crazy with this Manipulate : ...
0
votes
1answer
54 views

Simulation of bullet with cannon

I want to reproduce a simulation involving a movable cannon and a movable target of varying size. The cannon is fixed such that the vertical height is variable but the x and y position is fixed. ...
0
votes
0answers
17 views

PopupMenu seems to have stopped working after upgrading Mathematica

I have several files with popupmenus and they seem not to work since updating Mathematica to 12.0 Is there something I should do?
1
vote
0answers
42 views

How to create and name variables using Manipulate and InputField?

I have a function F(x1,x2,...,xi;y1,y2,...,yj) such that the xi are the variables and the yj are other parameters (as constants) of the same function. I need that: ...