Tagged Questions

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

30 views

Make a grid of lines with a For[] loop inside a manipulate statement

can anyone help me? I'm tring to write a Manipulate[] statement that can be able to modify a grid of lines in length, height and change the space between them. It ...
56 views

Using Interval Slider in Manipulate for Plot Functionality

I am trying to incorporate Interval Sliders in Manipulate to allow the user to select a range to view a given plot. Here is an example that I have constructed for ...
40 views

Create n number of sliders with push of a button

I am trying to create an app and a part of it I want to plot 2D slices of n dimensional data. For that purpose I ask the user which plane he/she wants to use and change the other dimensions with a ...
25 views

How To Sort BarChart Data Based On the Selected Column

This sample code works fine for the category of StarData selected. What I would like to do is sort the data based on which BarChart is selected. ...
135 views

3D Plot with the Manipulate Command

I'm trying to make a 3D Plot using the Manipulate command. The code is: ...
51 views

Changing Plot Options for two different graphs under Manipulate

I am trying to plot two discontinuous functions, each with different plot options, using Manipulate. In my code, I have defined a function for $z$ and $sq$ in my code. ...
87 views

Making a bouncing ball simulation interactive [closed]

Problem A ball initially at height $h_0$ above a horizontal surface is dropped at time $t = 0$ with zero initial velocity. When it arrives at the surface, the ball bounces in the vertical ...
27 views

Reevaluate a cell when using manipulate

I am trying to use a manipulate, but one of the plots inside requires that a lengthy cell (group) is evaluated again. Basically I have a variable 'intensity' which depends on the function I start ...
45 views

How to add new formula in existing formula in certain time?

Good day, May anyone help me to give an idea to edit the coding For as below towards my problems. ...
65 views

...
52 views

Using manipulate to observe vectors in a plane

How could I add a text with the coordinates at the ends of vectors? ...
40 views

How to Plot component frequencies, amplitudes and phases of a mixed signal

I generated a mixed signal by adding two sin waves (whose parameters I can change dynamically) and plotted them. I used the code for findPeriod from here to find the amplitudes, frequencies and phases ...
99 views

Using Manipulate to find best starting parameters to fit data

Often, curve fitting is very sensitive to starting values of parameters. It would be great, if I could to find such starting values of parameters "by hand" using Manipulate. So, I plot in ...
70 views

Selection of plotted graphic (among several) within a manipulate?

I have the following code (looks big but it's quite simple): ...
49 views

Variable name complication with DSolve? [closed]

I'm trying to run the code: ...
42 views

Have all the parts to my program, except implementing DynamicModule and InputField [closed]

I've posted before and I think (hopefully) I'm almost done. I want to make a program that models a cantilever bending on a box given parameters, like this: I calculated the parametric equations (...
47 views

How to Refresh ChartLabels when Manipulate BarChart Take Data Positions Change

See attached sample code at the bottom of this post. Under Manipulate, as I step through BarChart data using Take with different start/end positions, the chart of the data is refreshed, but the ...
49 views

Manipulate with DSolve

I have defined a set of differential equations stored in sol and I'd like to plot them while being able to change the parameters. I've tried it like so: ...
46 views

Manipulating the Plot of a Vertical Line along with other functions [duplicate]

Short version of my question: Given the following Manipulation of the plots of f and g by changing parameter d: ...
45 views

Manipulate[Plot[A[X]…, returns no output [duplicate]

Here is my simple code: A[X_] := a*X^2 - b/a^2* X^3; B[X] = A[X]^2; ...
45 views

Is it possible to change the color of a Control option when selected?

For this Control inside Manipulate (using Setter or ...
50 views

BSplineFunction defies numerical solution

I am trying to find an intersection between a straight line and a BSpline. The lines: ...
68 views

Nested parameter selecting in Manipulate

I have the following code, stripped down from the original to the bare essentials: ...
30 views

How to manipulate this? [duplicate]

I tried to code this, but everytime I code I failed. Im not sure what I did wrong and Im fairly new to Mathematica. Can you guys check it out? ...
67 views

Plotting a dataset and its fit dynamically

I have the dataset ...
122 views

Solving Partial Differential Equations using NDSolve

I'm trying to solve the following partial differential equation: With the boundary conditions: I could use another way to resolve this, like the finite volume method, but after I solve the ...
110 views

Strange Manipulate behavior

Running the following code and pressing the play button under b will input -2147483648 in b. ...
81 views

Use of Manipulate Function + Iterative Method

I created this topic yesterday, but since it was lacking my code and further explanations of the problem I needed to address, the topic have been put on hold. Anyway, now I'll add the article I'm ...
78 views

Dynamic update with manipulate is buggy

Try to reproduce the following code: ...
75 views

Manipulate Plot Sliders Not Working [duplicate]

I'm trying to use Manipulate on my function so that I can adjust parameters a, r, and ...
56 views

Plotting the results from Solve in a Manipulate expression

I am a self-taught Mathematica user, trying to make some progress. This is my code: ...
176 views

How to graph the contour of a resulting Manipulate curve

How can the green contour be graphed? ...
55 views

AnimationRate not a Manipulate option? [duplicate]

I was trying to set the speed of the Manipulate play button, following this question. Namely, I wanted to specify the option AnimationRate when I have two or more slider controls. However, it seems ...
97 views

Changing Type of Equation To Graph Through User Interface

I'm new to Mathematica. I am trying to create a graph that can change through user interface in more than just the variables. Ideally, I want the user to click a button and have the equation change ...
106 views

Show and lighting options do not work together

I am trying the example from this demonstration, but it is not working properly. ...
56 views

Response to user interaction inside Manipulate [closed]

I'd like to create a Manipulate with custom objects in the control area (like a circuit diagram) that reacts to the user interacting with the manipulate controls (e....
177 views

Manipulate controls don't work

I find one solution to make +/- buttons near Slider Control of Manipulate. But I don't understand why it works so bad. ...
56 views

How to expand the parameter bar in Manipulate?

When running Manipulate the parameter bar is initially not expanded. How can I make all the parameter bars expanded all at once like the image below?
24 views

Dynamic expression (or plotting) in Manipulate [duplicate]

I just want to see dynamic evaluation inside manipulate. I have long equations inside manipulate. And want to see dynamically my listplot. I make simple example. But i see only dynamic controls, but ...
93 views

Insert new points at specific places in the Locator Pane?

I am trying to make some BSplineCurve examples for my students. For fun I created the following Manipulate that draw an elephant using ...
62 views

Need help with making an interactive 3D plot

My main problem is to generate a manipulatable 3D plot, combining three functions and two of those functions depend on another variable Theta (which shall be the manipulateable variable). To explain ...
71 views

Dynamic locator: update to new position inside Manipluate

I'd like the locator to update to its new position when k is altered: ...
59 views

Scrollable table (Grid) as control in Manipulate?

I'm trying to implement a "fancy control" in my .cdf using Manipulate... My intention is to have a control in form of a table of values (I would prefer Grid), with ...
43 views

Manipulate required to manage 3 parameters one which is a function

Let f(x)=ax(1-x) and I=[0,1]. Then f(I) is contained in I for 0≤α≤4. Take any *x*0 in I and study the iterations *x*1=f(*x*0) etc. Convergence or otherwise around the one or two fixed points (...
127 views

make a surface plot that changes with time from csv data

How can I plot 4d data from a csv, using a slider for the 4th variable? I would like to use var1 and var2 as x-y corrdinates, var3 as surface height, and var4 as the time slider. If I have a csv <...
73 views

Moving a plot label along with a moving threshold line

Here is a simple Manipulate expression with a threshold. ...
45 views

Preventing LocatorPane Locator from moving when PlotRange changes

I have a LocatorPane within a Manipulate such that the range of the plot behind the Locator ...
93 views

Manipulate a Show [duplicate]

It takes me a long time to construct the following picture: ...