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

learn more… | top users | synonyms

1
vote
1answer
77 views

How to define a stochastic electromagnetic field? [closed]

I would like to show the effect of a stochastic electromagnetic field on a relativistic charged particle, using a manipulate box. The field should be randomly varying in time and in space, and be ...
-1
votes
1answer
51 views
0
votes
1answer
47 views

Problem with combining Manipulate and ParametricPlot3D

I've beein trying to solve this problem but somehow I just can't combine Manipulate and ParametricPlot3D. ...
0
votes
1answer
68 views

How to plot a two-dimensional position vector as function of time?

I got to a point where I have $x$ and $y$ coordinates of a position vector written as a function of time. x[t_]:=t^2-67; y[t_]:= Sin[t] t^4 + 5 t^2; Now my idea ...
9
votes
2answers
260 views

How to define variable “Rainbow” curve colors?

Firstly, I'm not asking about blending a color gradient on a curve. I would like to make the curve color uniform on all its lenght instead, but the color should change dynamically while we slide a ...
0
votes
1answer
76 views

Making a Manipulate showing a the motion of a particle [closed]

Solving a differential equation I got to the following result -(((R[n*Pi - t/w] Cos[t/w])/(n*Pi)) Then, using this solution, I create . ...
1
vote
3answers
181 views

How to apply a color gradient to a Rectangle primitive? [duplicate]

How can we apply a color gradient (say "Rainbow") to a Rectangle primitive ? Of course, I searched the documentation : http://reference.wolfram.com/language/ref/Rectangle.html, and also the site : ...
2
votes
1answer
84 views

Fitting EV charging curve

I would like to fit my set of data (x = time and y = power) as seen below, and obtain function of x describing it as close as possible, in order to manipulate it (applying different SOC, time offsets ...
0
votes
0answers
19 views

How to remove extra space around polar plot in manipulate? [duplicate]

In Manipulate, PolarPlot adds lots of useless space around the exterior circular grid. Is there a way to remove that space, so the whole circular plot could take more space ? Here's a MWE showing ...
0
votes
0answers
62 views

How to Use Mouse Events & EventHandler in Demonstrations

One of the primary criteria for an acceptable Demonstration is, of course, that multiple copies of the Manipulate Output Cells [MOCs] have to have independent controls and datasets: the operation of ...
3
votes
1answer
56 views

Different responses of Manipulate

Consider this code f[x_, y_, t_] := t Sin[2 Pi x] + 2 t Sin[2 Pi y] Manipulate[ Plot3D[f[x, y, t], {x, 0, 1}, {y, 0, 1}, PlotRange -> {-5, 5}], {t, 1, 2}] ...
1
vote
3answers
76 views

How to remove all buttons in Manipulate, except the input fields?

By default, when you click the small "+" symbol, at the right of a slider (in Manipulate and Animate), you get an input field and several buttons (play, pause, etc). How do you remove all buttons for ...
0
votes
1answer
89 views

How to prevent extrapolation in Manipulate? [duplicate]

How can I limit the time slider to the NDSolve solution range in a Manipulate box, so no extrapolation is used ? More specifically, here's a stripped down version of my Manipulate code which shows ...
1
vote
2answers
95 views

How to combine Plot, Manipulate and ContourPlot [closed]

I want to combine "Plot, Manipulate and ContourPlot", into one graphics display. I tried ...
3
votes
2answers
63 views

How do you manipulate a line that starts at a fixed point and moves with another line?

I'm trying to create a simulation of a person(line) walking along a wall(plane) with a lamppost behind the person(fixed point) that casts a shadow along the wall while the person is moving. I'm having ...
0
votes
1answer
62 views

How to display All Graph In one Graph

here is my code. for alpha and beta the value is always the same.i just change the value of rho.is it possible all these set value of rho is displayed in one graph? the purpose of this is i want to ...
-3
votes
1answer
178 views

How to turn off depth sorting of 3D curves for Manipulate?

Is there a way to turn off the default depth sorting of curves in a 3D output of several complicated curves ? Currently, I suspect that depth sorting has a very strong impact on performances on my ...
1
vote
1answer
46 views

assign a value to “elements” of a list, named as a “subscripted variable”

I'm stuck in scripting in Mathematica, since I need to assign a value to "elements" of a list, named as a "subscripted variable" (the subscript is also a variable), but it seems that in Mathematica ...
2
votes
1answer
64 views

Is it possible to manipulate multiple graphs with one manipulate function? [closed]

I'm trying to find a way to manipulate a function and its derivative, but two variables of the function change. Is there a way to manipulate multiple graphs with the same set of parameters? Meaning, ...
-2
votes
1answer
92 views

Simulating a Wave Pulse

How to construct a code that superimpose n=10 one dimensional sinuisodal waves. each with an angular frequency ...
0
votes
0answers
58 views

plot for coupled differential equation? [closed]

I have two coupled equations and sol is written in term of function as shown below. but not getting any kind of plot. Can any one help please. Thanks.... ...
0
votes
1answer
43 views

How to use a PopupMenu in Manipulate? [duplicate]

I need to build a Manipulate to show one of several functions in 3D. The functions should be selected in the Manipulate box using a PopupMenu, but the documentation isn't very helpfull on this. So ...
3
votes
2answers
131 views

How to make the mesh to rotate with a surface in Manipulate?

Here's a Manipulate code to show a particular 3D surface, rotating uniformly in time. The point of this Manipulate box is to show that the surface do indeed rotate like a solid, so I can't "cheat" ...
3
votes
3answers
115 views

How to remove the white border in Manipulate?

Is it possible to remove the default white space around a 3D graphics, inside the Manipulate box ? Here's a small MWE to show the white border I'm talking about : ...
4
votes
2answers
107 views

Dynamicaly add multiple integrals to Manipulate

I want to use Manipulate[] for parameter n for this expression. $$\underbrace{\int\limits_\mathbb{R} \dots ...
-2
votes
1answer
71 views

calling multiple functions in manipulate [closed]

Continuation Manipulate function to generate outliers I want to call a function in the manipulate environment so that the changing data is fed to another function and both the plots are plotted in a ...
1
vote
2answers
102 views

Incompatibility between Dynamic’s second argument and Wolfram Demonstrations

A central feature of the Wolfram Demonstrations is the use of multiple instances of the Manipulate output, placed into the Thumbnail and Snapshots sections – for instance here, that are used to ...
1
vote
0answers
53 views

Manipulate Tupper's self-referential formula [duplicate]

How to Manipulate $n$ in Tupper's self-referential formula? ...
1
vote
0answers
45 views

PlotLabel with Graphics [closed]

Wondering why my PlotLabel does not show up? ...
1
vote
1answer
57 views

When slide the Manipulate's bar too fast the value is too few

A code can trace the kinetic point.But when you slide the bar too fast,you cannot get smooth curve like fllowing. ...
0
votes
1answer
58 views

Manipulate function to generate outliers

How to use Manipulate[] to make a point move vertically and become an outlier? Here I am trying to make $50$-th point move vertically.I have tried as below: ...
2
votes
1answer
59 views

$CellContext issue while trying to export the current output of a Manipulate

Having just read this question Getting variables out of Dynamic Modules after restoring the program and the Kuba's answer I'm trying to optimize my workflow. I'm writing a Mathematica notebook to ...
6
votes
2answers
122 views

How to horizontally center a button in manipulate?

I just need to center a button in the MWE code below. Currently, all I try doesn't work. I would like to horizontally center the button relative to the sliders over it, for aesthetical reasons only. ...
15
votes
2answers
325 views

SaveDefinitions->True changes the displayed image

Bug introduced in 9.0.1 or earlier and fixed in 10.4.0 I have a Manipulate[ ] that displays an image with a superimposed ...
7
votes
3answers
235 views

Panning by moving Origin (0,0) with Mouse

Given a 10 by 10 grid like the one below and the axis origin somewhere on the grid, I would like to be able to place the mouse pointer at the axes origin (0,0), then press and hold the mouse button ...
1
vote
1answer
151 views

Problem with convergence of limiting value in Manipulate

I created a nice Manipulate box of the magnetic field outside and inside a spherical shell placed in an homogeneous magnetic field. The code is working great, but it has a problem at a limiting ...
6
votes
5answers
466 views

Manipulate with explicit updates

I want to use Manipulate (I am open to other alternatives) to apply one of two different functions f or ...
3
votes
3answers
104 views

Finding the width of a bell-shaped curve at half its peak value dynamically in a Manipulate

Kind of new to Mathematica. I am plotting a function that produces a bell-shaped curve in Mathematica within a Manipulate so that I can change its parameters ...
8
votes
1answer
721 views

The most simple Manipulate freeze the notebook on v10.1

I realize this won't be a particularly clear question. As I'm not able myself to find a pattern for the problem I'm talking about I won't be able to give enough informations to make it fully ...
1
vote
2answers
39 views

How to make variable values from evaluation time persist in Manipulate? [duplicate]

In the context of automatic report generation, I am trying to use a For loop to Print out a number of ...
0
votes
2answers
71 views

Using the plot function with the manipulate function

Can anyone explain why the below code does not produce a plot? ...
1
vote
0answers
24 views

Bookmark name not editable

The bookmark's name in a embedded cdf is not editable. I used the following code to create a cdf. ...
0
votes
1answer
53 views

Checkbox in manipulate not properly working

This question is related to another question of mine : How can I add a checkbox to a Manipulate expression?, but I'm still unable to make the checkbox to work properly. Here's a MWE code, from my ...
0
votes
0answers
40 views

Is it possible to make a standalone OS X app from manipulate?

I'm wondering if it's possible to make a standalone app from a manipulate box. I mean a small app that do exactly what the manipulate box is doing in Mathematica, but without Mathematica. In other ...
3
votes
1answer
60 views

How to align text to left and output to right, in manipulate?

I need to show a layer of information on a 3D graphics, inside a manipulate box. Currently, all the code is working great, except that the text should be aligned to the left, while the output numbers ...
2
votes
1answer
95 views

Interacting with the vertices of a polygon and points on a circle

I want to create an interactive module, where I can plot the vertices of polygon and some points on a circle(for example, suppose a triangle and 3 points on the circle) and move the vertices of the ...
1
vote
2answers
74 views

Problems in animating graphs and its extrema

I tested to animate 2D graph and its extrema for simple case using Mathematica. ...
2
votes
1answer
44 views

Using Manipulate, How can I display a list of coordinate pairs as a drop down list within the controls?

First post on this forum so I apologize if my formatting isn't perfect. My problem: I'm attempting to pass a list of coordinate pairs as a parameter for a control in manipulate. The goal is to be ...
1
vote
1answer
101 views

Show the number of rectangles under a curve

I am trying to manipulate the number of rectangles under a given curve, so far I can show the size of each rectangle, but I am not sure how to tell the number of rectangles. ...