Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [manipulate]

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

0
votes
1answer
52 views

How to display the symbolic form of an equation?

I have this problem. I want to show the unassessed form of the equations that I enter in the graph, however, every equation that I introduce results in the substitution of the known values within the ...
1
vote
1answer
28 views

Renaming iteratively product of variables

It is a rather easy problem but I don't manage to solve it. Expand[(a[1] x + a[2] y + a[3] z) (b[1] x + b[2] y + b[3] z) (c[1] x + c[2] y + c[3] z)] The problem ...
1
vote
1answer
50 views

Two locators on two different plots in Manipulate

I am trying to create a Manipulate module that shows two plots, and have locators on each of those plots, as well as two sliders. The locators do do not affect each ...
2
votes
2answers
89 views

Symmetrical rotating tetrahedron

How to find the vertices of a regular tetrahedron? a dodecahedron? I already get the coordinate of the tetrahedron, but i don't know how to rotate it just like the gif
0
votes
0answers
26 views

Mathematical card tricks [migrated]

For quite some time I have taken interest in analyzing card tricks that make use of a deep knowledge of advanced mathematics and there's been some progress. However, all the tricks I've tried decoding ...
0
votes
0answers
26 views

Disabling the action of some controls of a Manipulate expression when making animated GIF

I am currently trying to write a basic Manipulate and export it as a GIF/AVI. The desired output would be the GIF only running through the range of the first slider. My problem is, that it runs ...
1
vote
1answer
51 views

DSolve behaves weirdly with dynamic [duplicate]

I am an beginner in using dynamics as well as mathematica. I am trying to ask mathematica to solve and plot the solution of X'=AX with dynamic every time my matrix A updates. However the Dsolve ...
0
votes
0answers
51 views

How to solve “Coordinate should be a triple of numbers”?

Something seems different with duplicated question "How to solve this error? “should be a triple of numbers or a Scaled form.” ", MMA tips may tell that Abs do not ...
0
votes
1answer
35 views

How do I evaluate “If” statement inside PlotLabel? [closed]

I have an experimental function that is dependent on x and y [f(x,y)=Sin(ax/by)]. I am trying to make a 3D plot of f using the manipulate function so that I can easily input measured values of ...
0
votes
2answers
60 views

How can I save values generated by a Manipulate expression to a CSV file?

I have trouble generating and saving data from a manipulation that determines parameters. Can someone please help me? Manipulate[Plot[{func,x}, {x, 0, 3}] I ...
0
votes
0answers
51 views

Problem with NDSolve and Manipulate function

I'm having an issue with commands NDSolve and Manipulate. I'm trying to represent the rotation spin, nutation and precession of a spinning top (approximated to an inverted cone). Under specific data ...
1
vote
1answer
50 views

Dynamic Plot of multiple Disk Graphics

I want to plot multiple disks with disk-coordinates and disk-radii from two dynamically updated lists. I think there should be an easy way to do that but I dont get it. Thx for your help! ...
2
votes
1answer
45 views

How do I make a dynamic nested menu with the MorUI package?

I hope you can help me. I want to make a nested dynamic menu and I used the package MoreUI made by Kuba as a reference Question. My problem is that I want to add tasks such as: ...
2
votes
1answer
42 views

Problem with Manipulate+Plot [closed]

Here's an image of my problem. PlotMe is just a variable I use to store an equation. It is shown in Out[1002]. When I use Output(1002) in In(1003) it works as expected. However when I just use PlotMe ...
0
votes
0answers
37 views

Adding a Cosine function to alter the shape of the initial cosine function

I would like to be able to add a raised cosine to a "standerd" raised cosine. With a timedelay which I could manipulate (so the shape of the standerd cosine function is altered, meaning the function ...
2
votes
1answer
77 views

Switch Function Is Not Working Properly

I'd like to select between the Tent and Hat function to convolve, but my switch function produces an error. I don't exactly need the initial plots. But I would like to plot the two that I select. <...
0
votes
1answer
45 views

How to generate animation from manipulate?

I simulated a spherical shaped robot (Snippet-a). I used Snippet-b to generate the Graphics using manipulate. How to save ...
0
votes
0answers
37 views

Why do I get a blank graph when using Manipulate with NDSolve?

I'm trying to model an SIR model using the Manipulate function so that I can change the parameters. Although, when I enter in the following code: ...
0
votes
0answers
38 views

Manipulate plot of a system of PDEs with NDSolve

Modeling 1D diffusion of an enzyme, e, through a sphere with substrate, s, I arrive at the below equations: I then pass these equations to NDSolve, Evaluate at a range of r and t and Plot and ...
1
vote
0answers
27 views

How to allow Image3D to be dragged on Wolfram Cloud?

I have an 3D image as below, and then I deployed it to Cloud with Public permission. However, in the cloud, it is just a "static image", and user can't drag the image interactively (to change the ...
0
votes
1answer
47 views

Making a plot label containing dynamically subscripted symbols [on hold]

Manipulate[ Plot.... Epilog -> {Text["Al" <> ToString[x]<>"Ga" <> ToString[1 - x] <> "As", {0.5, 2}]}], {x, 0, 1}] But I ...
3
votes
2answers
77 views

Trying to Create an Animated Vector Plot of Tangential Velocities

Wanted to see if anyone could help me out here. I interested in seeing if it's possible to animate this vector plot I've created. ...
2
votes
1answer
72 views

Flickering dashed circle in rotated Manipulate

Bug introduced in 12.0 or earlier and persisting through 12.0.0 or later I'm drawing some objects (lines, circles etc) in a Manipulate. I am rotating the ...
1
vote
1answer
51 views

Menu object in a notebook that will print text in a new cell

I would like to get an output text when I select every option of popup menu, the input below print me the option but outside the cell displaying panel generated with Manipulate. I have been trying ...
0
votes
0answers
53 views

Nonlinear Schrödinger equation

I have the code (taken from Mathematica):: ...
0
votes
1answer
40 views

How can I add units to variables inside Manipulate?

I've created a Manipulate expression with many variables. I would like each of these variables to have associated units as in the standard Quantity[Value,"Unit"] so that I can easily enter the values ...
2
votes
1answer
40 views

Exploring an equation's solution space with Manipulate [closed]

I have the following simple Manipulate code that I use for solving an equation in two stages. In the first stage I identify the initial values ...
0
votes
1answer
41 views

Manipulate shows an empty plot [closed]

My Manipulate expression Manipulate[ Plot[100[x]^2/(T^4 (Exp[x/T] + 1)), {x, 0, 30}], {T, 1, 4}] shows an empty plot. ...
0
votes
2answers
103 views

How to animate a randomly updated plot

I have created a simple animation to explain to students how temperature affects the occupation of energy levels by using Animate to try to continually apply a ...
2
votes
1answer
81 views

Plotting an osculating circle at the leading edge of a developing Cornu spiral

I need to plot an interactive Cornu function like so: ...
1
vote
3answers
90 views

Group by using a key [duplicate]

I have a dataset which looks like this: I want to create another dataset such that I get the count of A1flag for each userId, i.e., 5311->2, 5313->2. I tried the following code ...
4
votes
0answers
31 views

How to preserve Dataset's pagination inside Manipulate?

I'm having troubles preserving automatic pagination provided by Dataset when it is embedded in a Manipulate. Consider the ...
3
votes
1answer
37 views

How to keep figure in Graphics to fixed size

I have the following code: f[u_] = Graphics[{Circle[{0, 1}, 1], Circle[{2 Sqrt[u], u}, u]}] Manipulate[Show[f[u]], {{u, 0.5},1,10}] Now, if we try the slider, ...
4
votes
1answer
78 views

How do i eliminate shaking of axes?

I'm trying to plot a solution for a 3-body problem i got using NDSolve, but for some reason y axis is shaking during the demonstration. How do i get rid of it? ...
0
votes
0answers
70 views

Dynamically evaluating integrals where the limits of integration must be found with FindRoot

I've the following problem: I need to use Manipluate to scroll over different values for $\text{R}$ ($0<\text{Rb}\le10^5$) and plotting for values of $0<\text{c}<10$. So, I have the ...
0
votes
0answers
34 views

Generating GIF animations of nested Manipulate expressions

I have a quick and dirty function that I use a lot for generating interfaces for internal demonstrations: ...
0
votes
2answers
69 views

Launch a code using the button function

How can I run the code in a cell using the "button" function. I have a big code and instead of using "Shift + Enter", I want a button to do it. Here is the code: ...
1
vote
1answer
57 views

How can I save an image after manipulating it? [closed]

I need to extract a picture from a red square for further transformation over it.
5
votes
2answers
92 views

Manipulate with arguments points on a circle

Start with the following parametric equations of a torus: ...
2
votes
3answers
82 views

Defining a recursive function with additional parameters that can be used in a Manipulated ListPlot

I'm trying to code up some plots for Autocorrelation Functions in Time Series Analysis, which can often be defined recursively. The goal is then to have Manipulate sliders that allow you to ...
0
votes
1answer
57 views

Manipulate plot and sound of a function simultaneously

I've an amplitude function (see below). I want to manipulate both a plot of this function and the sound it makes with the same sliders. Is this possible? ...
4
votes
1answer
56 views

Why is StreamPoints not seeding correctly?

I am attempting to make a parametric stream plot of a dynamical system that is seeded along a line of points. For some reason, Mathematica inconsistently seeds at these points and will actually ...
2
votes
1answer
57 views

Using Manipulate to show the solution of an ODE by NDSolve and DSolve

I can't spot the error, can someone help me? ...
4
votes
1answer
87 views

Create an animation that plots the following two functions

How do I create an animation that plots the following two functions? Let x vary from 0 to 15, set the y-values to range from -90 to 90 and include the fill between them. Do not include the axes in the ...
4
votes
1answer
48 views

Manipulate the effect of varying the level of flattening on a TreeForm expression

I want to visualize how Flatten works and have a slider that changes the level of flattening. Here is the list of lists I'm using and Flatten function. ...
4
votes
2answers
66 views

How to fully display text in the text box of Manipulate control when expanded?

When the control of Manipulate got expanded there's a display text box but it does not fully show the control value as shown in figure. Is there any way that the size of this box can be adjusted to ...
0
votes
0answers
27 views

Manipulate and Graphing Multiple Functions on the same Axis [duplicate]

Can Anyone help me out graph both function and its tangent line on the same xy axes, please? ...
0
votes
1answer
42 views

Suppressing the repeated evaluation of a sub-expression in a Manipulate expression

I'm trying to build CDF from a code that you can see on the image. However, it is painfully slow. The way to improve speed would be to reduce calculations. The same value is recalculated over and over ...
0
votes
1answer
30 views

Replacing non-adjacent variables [closed]

Suppose I have an expression of the form $exp=a\,b\,c\,d\,+\,e\,f\,g\,h$ where all the letters represent real numbers, and I want to replace $a\,c$ in the first term by $w\,x$ and $f\,h$ in the second ...