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
61 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
29 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
58 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
56 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
87 views

Manipulate with arguments points on a circle

Start with the following parametric equations of a torus: ...
2
votes
3answers
76 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
51 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
52 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
55 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
80 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
47 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
48 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
39 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
29 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 ...
0
votes
0answers
27 views
1
vote
2answers
61 views

Create a moving point along a parametric plot using Manipulate?

Assume that G defined by: G = {Sqrt[1 - x] + I Sqrt[x], Sqrt[1 - x] - I Sqrt[x]} I am trying to create a point that moves along the curves of G from x=0.01 to x=...
0
votes
0answers
6 views

Using manipulate in the plot of a function that depens on a FindRoot function [duplicate]

I've the following two codes: FindRoot[Abs[Uin*Sin[2*Pi*fin*T - (Pi/2)]] - 2*Ud == (Uin - 2*Ud)* Exp[-T/(c*Rb)], {T, 1/(4*fin), 1/(2*fin)}] And: ...
4
votes
3answers
141 views

Unwanted re-evaluation of a variable inside Manipulate

In the below Manipulate expression: ...
3
votes
2answers
103 views

Animation time problem

I have a problem with Manipulate. I want to stop my animation depending on a condition on the value A, which is controlled by a ...
1
vote
0answers
29 views

Issues with Manipulate (or variable assignment)

I am working to take a large manipulator I have built and generalize it, but I keep running into some variable assignment issue. I made a short example of my issues below: Set up: ...
0
votes
1answer
27 views

How do I size a Manipulate input field when using Control?

I'm building a Manipulate object and I need to reduce the width of the input fields for improved usability. I've tried everything I can, and I don't seem to be able to get it. Everything points to ...
1
vote
2answers
70 views

How to manipulate domain?

I'm trying to view these functions as the scale goes from local to global. I don't want to manipulate the function, just the domain range. ...
0
votes
0answers
27 views

How to animate two value expression in mathematica [duplicate]

I have an expression which is a function of two variables. How to animate this? m = 200; y = Sin[\[Pi]*x]*Exp[I*m*t] Manipulate[Plot[y, {x, 0, 1}], {t, 0, 10}]
0
votes
0answers
29 views

Plotting differential equations separately inside manipulate function

I am solving multiple differential equations using ParametricNDSolveValue function. Later, I am plotting these differential equations using plot function inside manipulate function. So, basically I am ...
0
votes
0answers
37 views

Use Manipulate, RegionPlot and Reduce in Mathematica 11

I used the following code in Mathematica 8 and it worked. Running the same code in Mathematica does not. I am very much open to suggestions to reach the same output plot in a clearer way. The code ...
6
votes
1answer
211 views

How do I include table headings in Excel data?

I am trying to generate a table with Manipulate and export the results into an MS Excel file. Fortunately, after a lot of troubles, I was able to get the file ...
0
votes
0answers
22 views

Using Table to determine Plotrange coordinates

Hello I have a more pragmatic problem. Let's start from the beginning so everyone knows what I mean. I have a listplot such that ...
3
votes
2answers
118 views

Initial values of position (x) and speed (v) of a particle visualizing using Mathematica

$$\vec{F}(\vec{r})=-m\omega^2\begin{pmatrix}x\\4y\end{pmatrix}$$ I have the force $F$ shown above. How could I specify the initial values of position ($x$) and speed ($v$) in Mathematica using the <...
0
votes
1answer
60 views

Sliding a tangent along a curve [duplicate]

I am having a difficult time making my Manipulate show what I want in the CDF player. I want to show a tangent sliding along any curve ...
1
vote
2answers
98 views

Is there a meaningful difference between two ways of writing a Manipulate expression?

What is the difference between Manipulate[Graphics[Disk[{x, 0}, 1], Axes -> True], {x, 0, 10}] and ...
3
votes
0answers
87 views

Image Processing: Detecting certain edge features over varying contrasts

Images and description- • The images are obtained from the frames of a video (>1000 images) • As shown, there are contrast variations between the images • The bubble shifts horizontally ...
2
votes
1answer
54 views

Why cannot I label a date point using TimelinePlot with Manipulate?

I have tried to simplify this issue as much as I can at the moment: it looks like a bug to me but perhaps I've missed something obvious. I am trying to build an interactive scheduler using ...
0
votes
1answer
82 views

How to get Lissajous curve like the following gif [duplicate]

parameter equation $x= \sin(m t)$, $y= \sin (nt)$,(fix $m=13$, $n=18$ not to change) I need the picture show the generation of the curve.(start from one point to the final curve like you draw it ...
1
vote
1answer
30 views

How to resize slider(control-field) inside Manipulate

In a very simple example Manipulate[Plot[Sin[a x], {x, 0, Pi}], {{a, 1}, 0, 5, Appearance -> "Labeled"},ControlPlacement -> Left] I would like to resize ...
0
votes
1answer
63 views
2
votes
1answer
53 views

Slider controls not showing in CDF deployed to wolfram cloud

When I run my CDF from CDFPlayer or Mathematica I see all additional controls (fast forward, play, pause, etc) when Appearance->"Open" is usede.g.: ...
0
votes
2answers
87 views

Roots of a polynomial

In Mathematica I have represented the following polynomial $a x^4 + b x^2 + c x+2$ using the Plot command and, through the ...
1
vote
1answer
48 views

Solve for: When does the area bound by three curves == area desired

The program I've been making an attempt to write does the following: Plot 2 lines, f(x) = –x and g(x,a) = e^(x – a) –a Find area bound by the 2 lines and x-axis (shaded in red) A "desired area" value ...
1
vote
1answer
58 views

Why does the curve not show?

I am trying to plot a general helix with variable parameters (via sliders) and its associated FrenetSerretSystem. The helix doesn't show. ...
0
votes
0answers
36 views

ListLinePlot Manipulate only discrete values in Slider

When you use a slider control for any kind of list plots slider should only take integer values and I can specify that with start point and end with step size. However, you can expand the slider and ...
0
votes
0answers
37 views

Problem with small program: Error: “Charting Private pvar”

Im in the making of a smaller self-running application. I have made a small piece of the program as it has to look in the end. However, sometimes when i change some of the input for either "demand" or ...
2
votes
1answer
41 views

ListSliceContourPlot3D with different number of Contours for each plane

I am plotting a 4D data (3D space, and time) and I would like to have control over each planes' number of contours. I already set the variables for that but I don't know how to set the contours ...
0
votes
2answers
85 views

How to find mean of a plot generated by Manipulate?

I have a plot that I'm manipulating: Manipulate[Plot[PDF[GammaDistribution[alpha, beta], x], {x, 0, 5}], {alpha, 1, 5}, {beta, 1, 5}] I want to manipulate it ...
2
votes
1answer
55 views

SliceContourPlot3D combinations with Manipulate

I am trying to visualize 4D data, 3 space and one time, i.e., f(x,y,z,t). Using SliceContourPlot3D looks like one of the best options. And I did the following and ...
1
vote
0answers
26 views

how to use interpolating functions to smoothly paint a polygon? [duplicate]

consider 4 different colors on the nodes (with different parameter values) how to interpolate when the color values are given on the nodes using the constructed interpolation functions to paint the ...
0
votes
1answer
46 views

Can i plot different parameter differential equation phase plane in a line?

In order to compare with different parameter,can i use StreamPlot plot them in a line, for example: $$\dot{x} = Ax$$ When $A = [-1,0;0,-2]$, i can use code as ...
0
votes
1answer
67 views

Getting a Dodecahedron Graph to work in Manipulate [closed]

Right now I am currently using a grid graph for a "shortest path model", but ideally, I would like the shortest path model to work on a pentakis dodecahedron or rhombic triacontahedron. I will say I ...
2
votes
1answer
78 views

Generating Manipulate variables from a list of rules

I have the following list of rules: ...
0
votes
1answer
54 views

Increase a value in Manipulation automatically without cycling

I am looking for a function in Manipulation block that enables me to increase a value, say t, automatically when a certain condition is reached, say x>=5. I realize Clock can increase t but it cycles ...