Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
0answers
22 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
20 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
52 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
25 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
25 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
29 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
191 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
20 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
100 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
55 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
69 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
50 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
73 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
28 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
50 views
2
votes
1answer
48 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
79 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
46 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
26 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
24 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
39 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
45 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
24 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
45 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
53 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
66 views

Generating Manipulate variables from a list of rules

I have the following list of rules: ...
0
votes
1answer
53 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
44 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
73 views

Modifying a global variable within a Manipulate expression

I am trying to change a variable using Manipulate, like this: ...
2
votes
0answers
35 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
48 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
59 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
61 views
2
votes
1answer
42 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
148 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
67 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. ...
1
vote
2answers
48 views

How to create a manipulate window that plots two functions?

Original Function: f[x_] := E^-2 x Cos[Pi x] Manipulated Function: ...
0
votes
0answers
26 views

Manipulate dynamic PopupMenu drop down selector [duplicate]

I am trying to get a PopupMenu in Manipulate that will be dynamically updated. The code that seems correct is below: ...
1
vote
1answer
39 views

CloudImport in Manipulate

I'm trying to make an image viewer using Manipulate in the cloud to allow collaborators to see and compare different datasets. I've tried several variants of the ...
3
votes
1answer
50 views

Simulation using Manipulate within Manipulate

Suppose there is a list of matrices (say m matrices), matC. The first element of this list is considered as the Benchmark matrix ...
1
vote
1answer
36 views

Need slider label in Manipulate expression to show more digits

How can I get the display for the manipulator to have more digits. It currently expresses 5 digits but I need 10.
2
votes
1answer
37 views

Why does Mathematica stay on an endless evaluating loop with Manipulate?

I have built Manipulate to see the impact of a change in time and volatility to the profit of an option strategy, bull spread. To calculate the price of the option, I built the good old Black-Scholes: ...
3
votes
2answers
109 views

make a slider for a list of matrices

I have a list of matrices, called $matList$, which are sequentially multiplied by another matrix $G$. I created a slider for $matList$, but the slider does not work. Here is the ...
0
votes
1answer
47 views

Problem with Manipulate and FourierTrigSeries

I'm facing a problem with Manipulate here, It just plots a blank xy-axis. ...
1
vote
1answer
36 views

Manipulate plot using solution from Solve [duplicate]

Hi I'm trying to visualize a 2D equation that I have previously solved as I vary a parameter 'b'. First I solve for 'y' in terms of 'x' and 'b', then I intend to use Manipulate. ...
6
votes
1answer
74 views

How to force a Manipulator inside a Manipulate to auto-run?

I want to use a slider (not drop-down list) for a list of discreteValues to do the Manipulate (I used ...
0
votes
1answer
108 views

Manipulate within Manipulate

Since the original post of mine, which is below, is too long, too complicated and time-consuming for others, I tried to mimic the same structure with a very simple ...