The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
4
votes
1answer
101 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
49 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
99 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
52 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 ...
0
votes
0answers
30 views

Manipulate command in Module command is not working

...
1
vote
2answers
110 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
150 views

Unwanted re-evaluation of a variable inside Manipulate

In the below Manipulate expression: ...
3
votes
2answers
137 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
33 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
39 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
102 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
35 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
55 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
236 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
24 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
124 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
74 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
99 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
105 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
68 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
119 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
38 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
86 views
2
votes
1answer
62 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
119 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
56 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
65 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
50 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
71 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 ...
1
vote
1answer
47 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
91 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
77 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
29 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
59 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
83 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
109 views

Generating Manipulate variables from a list of rules

I have the following list of rules: ...
0
votes
1answer
59 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 ...
2
votes
1answer
60 views

Create a Manipulate with a control to select Circle or Disk

I need to create a Manipulate that shows a circle or disk with a control to select whether it is Circle or ...
1
vote
2answers
160 views

Modifying a global variable within a Manipulate expression

I am trying to change a variable using Manipulate, like this: ...
2
votes
0answers
41 views

Manipulate issue

I am new to Mathematica and so far I was able to find answers to my problems so far, but not for this one. I hope you are able to help me. I have 4 variables that determine a feasible "area". It the ...
4
votes
2answers
57 views

Updating/ disabling certain slider values dynamically in Manipulate

I am struggling with Manipulate dynamic updating. I would like to have an image containing two points which can both be moved in real time to any location on the ...
0
votes
0answers
71 views

Jupiter as a Circular Mass Ring

I am trying to model the planet Jupiter as a uniform circular ring of matter and calculate the central force inside of it. This ring has the Sun as its center and defined by its linear mass density <...
2
votes
1answer
83 views

GIF output not animated [closed]

Code: ...
2
votes
1answer
46 views

Manipulate does not work with random and text display

I would like to do a small demonstration of Monte Carlo integration. However, When I generated the plot code, it does not work properly. ...
6
votes
2answers
163 views

Interactive Labeling of Images

I have a list of pictures: pictures = {im1,im2,im3,im4,im5,im6} Where im1: im2: im3: im4: im5: im6: I want to assign the pictures to labels (1,2,3,4,5 ...
1
vote
2answers
75 views

Plotting dynamic variable generated by checking Region intersections

I have been trying to plot a variable which is nested inside a manipulate. Here is a simplified version of the program. ...