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

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
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 . ...
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 ...
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 ...
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}] ...
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 ...
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
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 ...
-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, ...
0
votes
0answers
58 views

plot for coupled differential equation? [on hold]

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 ...
-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 ...
3
votes
3answers
114 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 ...
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" ...
1
vote
0answers
53 views

Manipulate Tupper's self-referential formula [duplicate]

How to Manipulate $n$ in Tupper's self-referential formula? ...
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 ...
0
votes
1answer
68 views

Keeping a plot label from automatically resizing

I have: ...
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. ...
-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 ...
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. ...
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 ...
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 ...
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 ...
1
vote
2answers
38 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 ...
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
2answers
71 views

Using the plot function with the manipulate function

Can anyone explain why the below code does not produce a plot? ...
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 ...
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 ...
3
votes
1answer
59 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
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 ...
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
79 views

How to add text with output on a 3D manipulate

I need to add a string of text with some output data at the bottom-center of a manipulate output. The manipulate output itself is 3D. Here's a MWE to work with : ...
1
vote
1answer
52 views

LocatorPane in Manipulate blocks interaction with other graphics

I have a Manipulate that uses LocatorPane on a ContourPlot to move some a ...
7
votes
1answer
104 views

What is and isn't a valid variable specification for Manipulate?

I have an expression whose terms have arguments (representing subscripts), like this: myExpr = A[0] + V[1,T] I would like to put it inside a ...
0
votes
1answer
39 views

Manipulation of ListPlot of an imported list versus first elements

I have seen 1& 2 but I could not find an answer helping me. I have created (by another program) a list as below: ...
0
votes
1answer
81 views

manipulate with Plot

Facing problem with using manipulate along with Plot. Below is the function call where I have only one parameter to change, hence plot is not allowing. Searched for various options but not able to ...
0
votes
1answer
51 views

Manipulate curves [duplicate]

I want to draw curves with manipulation. When I use the following code, I receive nothing. ...
3
votes
2answers
104 views

Button with loop that iteratively updates slider in Manipulate

I have the toy Manipulate. ...
2
votes
2answers
58 views

How to mix symbols and text for labels in manipulate? [closed]

I'm creating a big manipulate box with several sliders, and each slider must have a small explication text (units, for example) after a mathematical symbol. As a simple example, here's the code I'm ...
0
votes
0answers
93 views

Slow and laggy animation of an electromagnetic wave

I made a manipulate code of an electromagnetic plane wave which works relatively well, but is very slow and laggy for what it does (showing just a bunch of rotating or oscillating arrows). What is ...
1
vote
1answer
51 views

Declaring functions in NDSolve? [duplicate]

I have a simple enough series of coupled ODES, which is relatively easy to solve. It looks something like this. ...
3
votes
2answers
51 views

Function for generically controlling 'Manipulate' parameters

I want to use a generic function to generate controls in manipulate, which looks like this: ...
1
vote
1answer
51 views

Adding Color to StringForm PlotLabel

I have: ...
3
votes
2answers
200 views

A series of Manipulate activities in a notebook

I have a series of Manipulate activities in a single notebook I am preparing for a presentation tomorrow. After the fourth one moves so that it is partially in view, I get the blinking black cell. I ...