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
2 votes
1 answer
32 views

Run Initialization in Manipulate Manually

Although I have received a lot of help, there is a rather difficult question. Let we have a system with parameter: $$x_{n+1}=x_n^p$$ As long p changes, we have to ...
  • 817
0 votes
1 answer
62 views

Recording results of Manipulate

I'm studying the effects of some parameter on a complex system. When we change the parameter, the system is converted and we need to write each new state to the list. Problems encountered in using <...
  • 817
0 votes
0 answers
28 views

Manually Styling The Manipulate "Form" and the Graphics 3D "Form"

I want to turn manually style the manipulate form such that the background and form are black, the cell background is black, and the form controls are white and the font is white. Additionally the ...
0 votes
0 answers
26 views

manipulating animation

The following code defines a function P[...,X,Y,...] and plots its (random) points with coordinates (X,Y) on a plane as an animation. The number of points is determined by the variable "particles&...
2 votes
1 answer
70 views

List of parameters as argument for Manipulate

Let's say, that we have a list of parameters, that we want to use in manipulate, like so: parameters={{a,0,5},{b,-1,5}}; Of corse you could manually copy and paste ...
2 votes
2 answers
40 views

Nesting in `Manipulate` and `SetterBar`

Is there a way (ideally simple) to combing SetterBar with other manipulate controls? Such as have a manipulater parameter inside the ...
  • 3,466
1 vote
3 answers
58 views

Plotting a function of $x$ for various values of parameter $a$

I need to plot the function a^x where the parameter a takes on values a={2,1,1/2,e}. So far ...
0 votes
0 answers
52 views

Mathematica 13 not Working with Windows 11 Pro (bug)

Erratic behavior in Mathematica 13 on Windows 11 Pro. I have two issues that come and go. (1) Sometimes, the equation controlling the manipulate in my notebooks corrupts. The slider bars are not able ...
  • 139
0 votes
0 answers
26 views

Change parameter in dynamically updating plot // Manipulate outside of Dynamic // GUI for dynamic plot

I want to dynamically plot the Kuramoto model with the parameter K as an adjustable slider \dot theta_i = omega_i + K/N \sum_j sin(theta_j - theta_i) For fixed K, ...
  • 1
0 votes
1 answer
39 views

Showing limited amount of data in manipulate function

I am trying to simulate Logisticmap equation(xn+1 = r*xn(1 − xn)) for two very slightly different initial conditions and compare them after N iterations. This code works fine, but for very very nearby ...
0 votes
0 answers
40 views

Multiple Plots (with same colors) under one Manipulate

I have a follow up to my previous question regarding manipulate with contours and 3D plots Manipulate with Contours and 3D plots How can I achieve three (!) plots under the same ...
  • 125
0 votes
1 answer
39 views

Manipulate with Contours and 3D plots

First question in this community (and rather new to the Mathematica world): thanks in advance for your help and sorry if the solution to the question is completely trivial! I would like to have ...
  • 125
0 votes
1 answer
65 views

Using manipulate to plot random points with sliding bar

In the following code, I have tried to plot basically a distribution of points that I have assigned to be called Acoords and Bcoords. What I want is for the number of points to be a function of time. ...
1 vote
1 answer
49 views

Combining graphics with manipulate

For the code below, I am trying to make it such that when I go through $\alpha$ values, the plot updates. However, currently, it just plots with a stagnant $\alpha$ value with no updating. When I try ...
1 vote
2 answers
50 views

Plot multiple lines with `Manipulate`

I have a function $e = f(w,a,i,\lambda)$. I first plotted the relationship between $e$ and $w$ for three different values of $a$ for given $i=0.1$ and $\lambda=0.5$. For this my code is: ...
  • 823
6 votes
5 answers
247 views

Controls several parameters from 0 to 1

I want to achieve this effect I've tried With[{n=5},Manipulate[Table[If[0<=i-j<=1,Mod[i,1],1],{j,0,If[i<=n-1,i,n-1]}],{i,0,n}]] That last one is always ...
  • 5,404
1 vote
0 answers
43 views

How to track the changes of the variable on a low level / TrackedSymbols? [duplicate]

There is a nice option to Dynamic or Manipulate wrapper functions, where one can specify, which of symbols Mathematica should ...
1 vote
1 answer
114 views

Plotting with implicit function

I have a problem similar to this. I followed the solution therein but my problem is still not resolved. I have an implicit function, $F(e,w;a,i,b,n)=0$ that implicitly yields $e$ has a function of $w$ ...
  • 823
0 votes
1 answer
60 views

Array of checkboxes in manipulate with labels

I'm attempting to create a grid of models by datasets checkboxes with labels on the the top and bottom(with an empty in the top ...
  • 71
2 votes
2 answers
237 views

Why did this code make an error when drawing the function image? How to modify it?

...
  • 797
0 votes
1 answer
41 views

Manipulating boundary conditions of coupled non-linear ODEs using Manipulate and ParametricNDSolve [closed]

I`m trying to plot solutions that are presented for different values of parameter I called "$A$" which appears in the boundary conditions for a system of two coupled nonlinear differential ...
0 votes
1 answer
54 views

How to plot multiple functions in Fourier Series?

I have the following periodic problem. We have calculated the coefficients and created the graphs separately ...
0 votes
1 answer
74 views

I want to increment the data one by one so that the histogram changes in Manipulate

BarChart[{1,2,3,4,5,6,7,8,9}] How can I pre-populate the data from this source code and move it with Manipulate to show how the ...
user avatar
0 votes
1 answer
53 views

What is the proper way to use Manipulate and Graphics in this context?

So this is my setup: I want to have an unspecified number of points, let's say n, which I can manipulate in a Manipulate environment. I want to later use these ...
2 votes
0 answers
38 views

Freeze slider if locator moved

I have list of many locators in my Manipulate: {{listoflocs, listoflocsinit }, Locator, LocatorAutoCreate -> True } And I have a slider there: ...
  • 21
1 vote
0 answers
57 views

How to fix Part::pkspec1: The expression cannot be used as a part specification? [closed]

When I try to change the t parameter an error occurs, i want to solve hyperbolic pde by explicit FTCS. Convection (transfer) equation. Wolfram version - 12. The same problems arise with other methods, ...
1 vote
1 answer
58 views

3D graphics in manipulate with preset ViewPoint

I would like to have a Manipulate with one binary control. The output should be either a 3D graphic with a dynamically shown ...
  • 13
0 votes
0 answers
47 views

Changing permutation dynamically

I am trying to make a visualization of permutation as a graph. With the first compilation of program I want to get random permutation and then be able to dynamically change permutation that I desire ...
  • 21
0 votes
0 answers
49 views

Reset Button for Manipulate and freezing Sliders

I work on a Bezier curve subdivision project. I managed to implement it, but I faced some problems. (The code of my program is presented below.) Firstly, if I change parameter n after changing other ...
  • 21
1 vote
1 answer
60 views

How can I manipulate multiple functions which all have the same parameters?

So I've been plotting phase portraits along with nullclines and phase flow for certain oscillators as follows: ...
3 votes
3 answers
142 views

I need to manipulate a line that can rotate in (-1,7) right where the dashed arrow touches the blue line by changing the direction of the red arrow

Graphics[{{Blue, Line[{{-5, 3}, {5, 8}}]}, {Dashed, Arrow[{{0, 0}, P}]}, Red, Arrow[{{0, 0}, v}]}, Axes -> True, AxesLabel -> {x, y}] I've tried combining ...
0 votes
1 answer
51 views

Problem displaying three functions with SphericalPlot3D and Manipulate [closed]

This time I try to create a menu that shows different atomic oritals, using Manipulate, but when I run the notebook the fpx and fpy functions are not shown. Will ...
1 vote
0 answers
36 views

I've got a system of ODEs which depends on a parameter $\alpha$, but the solution won't be plotted [closed]

...
  • 77
2 votes
2 answers
152 views

'Manipulate' keeps updating output even though the manipulated variable has not changed

Why is the following code keeping updating an output with increasing variable v, even though I have not changed the manipulated variable ...
  • 5,915
0 votes
0 answers
42 views

Preventing Evaluation of Body of Manipulate

Overall, I am looking for a way to prevent the evaluation of the body of Manipulate until the controls meet a certain condition. For example, consider the following....
0 votes
0 answers
32 views

Export Manipulate Output into .pdf (or as link into .pdf)

Is there a process of embedding Manipulate output into .pdf document, or alternatively creating a link of the Manipulate output, which can be added into .pdf. For example, I would like to add the ...
  • 1
0 votes
1 answer
76 views

Manipulate point of tangency

I would like to Manipulate[] the point in which the tangent is drawn. It should display the hyperbola, the asymptotes, the tangent the resulting triangle. The point X should be from (3,8) Thank you <...
1 vote
2 answers
103 views

Ploting a dataset and choosing points from the plot

I have the following: ...
user avatar
0 votes
1 answer
72 views

Manipulate won't display the solution of NDSolve despite NDSolve working fine without any problems

Code: ...
  • 77
0 votes
0 answers
25 views

Error running Classify repeatedly within Manipulate

To create a CDF document, I have to run Classify in Manipulate. However, if the code is executed as follows, Classify continues to run repeatedly. Can it be executed and stopped only once? ...
  • 1,121
1 vote
2 answers
46 views

How to create a Flexible RadialAxisPlot with Manipulate using Dataset

I have the following code: ...
  • 4,833
0 votes
0 answers
51 views

Manipulate: The animation disappears as soon as I start it, why? And even if I try to fix it "manually", Manipulate shows the wrong animation

Code: ...
  • 77
7 votes
3 answers
499 views

Track chord movement

The point $P$ on the circle and the point $F$ inside the circle, perpendicular bisector of line $PF$ intersects the circle at two points $A, B$, the envelope of $AB$ is an ellipse. I use the following ...
  • 5,404
1 vote
1 answer
53 views

Construction of many logical sentences

Consider the set: c1 = {h1, h2, h3, h4, h5, h6, s1, s2, s3, s4, s5, s6}; How to build a list of all possible logical sentences based on the set 'c1' and logical ...
  • 1,009
4 votes
2 answers
264 views

Why does Manipulate not work? There is no error message, but nothing is shown when I run the code, no plot whatsoever

...
  • 163
0 votes
1 answer
178 views

Can You Configure Mathematica to Not Abort?

So I am playing around with an interpolation polynomial. The code for what I am trying to do is computationally heavy: ...
  • 105
-1 votes
1 answer
81 views

I tried to make an animation of a 3D ball. There is no error message, but there's no animation at all. Why? [closed]

...
  • 163
0 votes
1 answer
116 views

Animation of a ball rolling up and down a parabola

...
  • 163
4 votes
1 answer
152 views

Problems when Manipulating viewpoint of Graphics3D[cube]

I wanted to Manipulate the ViewPoint of Grphics3D[Cube[]]. My codes are ...
  • 3,561
2 votes
4 answers
145 views

How to plot the distance between a point moving on a line and the center of a circle

I want to plot a graph that represents the distance of a moving point on a line and the center of a circle, I want to plot the graph on the right (the red dotted graph) screenshot of an explanatory ...
  • 329

1
2 3 4 5
40