Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
0
votes
0answers
56 views

Why is this code keep collapsing? It always let Mathmatica not respond even when the memory was 60% in use

Messages: Coordinate $CellContext` intersections[3] should be a pair of numbers, or a Scaled or Offset form. Coordinate $CellContext`intersections[Rational[-17, 10]] should be a pair of numbers, or ...
1
vote
0answers
23 views

Nesting, Manipulate and TabView

I have a Demonstration that employs TabView to show three related but slightly different functions, each view having slightly different controls. I can make it work fine nesting Manipulate in each Tab ...
2
votes
1answer
40 views

Yet more on Manipulate[] - Formated Input

Suppose I have something like Manipulate[Plot[Sin[n x], {x, -Pi, Pi}], {n, 20, "Frequency"}] with a manual input field but I want to accept inputs like ...
0
votes
0answers
25 views

Manipulate and CloudDeploy [on hold]

It is easy to specify the initial position for the slider in Manipulate, as pointed out in the answer to this question. However, when I wrap a ...
2
votes
2answers
42 views

Number formating in manipulate

This is closely related to this question.. Suppose I have a slider control for Manipulate. Can I display the slider label in percent (or, in general, any other ...
5
votes
1answer
36 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
18 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
60 views

How to auto-rotate a MeshRegion?

I have a 3D MeshRegion region1 as below: ...
2
votes
1answer
40 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
34 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
44 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
126 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
32 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
36 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
46 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
48 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
131 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
37 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
37 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
83 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
76 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
28 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
40 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
74 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
30 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. ...
0
votes
1answer
69 views

Using Manipulate with CloudDeploy

This is my code: ...
4
votes
2answers
67 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
54 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
86 views

Blank graph on offline mathematica

I am looking at the following plot: ...
2
votes
1answer
36 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
34 views

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

So I have a quite complicated ParametricNDSolve : ...
3
votes
1answer
45 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
17 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
33 views

How to add a Locator to a Manipulate / ListPlot?

I have the following Manipulate to graphically show the n-th roots of unity: ...
2
votes
1answer
53 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
72 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
52 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
29 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
27 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
94 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
80 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
40 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
45 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 ...