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
73 views

Interactive level sets of polynomials

I'm new to Mathematica and I need some help with the following problem. I would like given some positive integer n, to have mathematica plot the level sets of a (say monic) polynomial of degree n, ...
3
votes
2answers
69 views

Is it possible to return a list of variable values set by Manipulate?

Is it possible to write a function that returns a set of values that are set by Manipulate? For example, a function that returns a dataset of variables modified by ...
-4
votes
0answers
32 views

please, help me with writing a code in Wolfram Mathematica [closed]

With six sliders set the two matrices: symmetric Q and symmetric positive definite G. Draw on the Cartesian plane of the main directions of the pair forms, along each of the main areas to defer a ...
0
votes
1answer
39 views

Using Manipulate to make a 3D plot of a function of three variables [closed]

I have a function $S = S(\alpha,\tau,q)$. I am interested in plotting a 3DPlot of $S(q,\tau)$ for a given value of $\alpha$. However, I would like to visualize this by manipulating $\alpha$ with the ...
1
vote
2answers
121 views

Rolling Disk Animation

I am trying to create an animation in Mathematica of a rolling disk outside a disk of equal radius. The following coding is what I have tried but without the one circle staying in a fixed position I ...
0
votes
1answer
62 views

Manipulate Solve

I have seen similar questions and answers but it did not help me. I would like to see effects of three constants in equations resulted from solve command. conditions are ...
15
votes
2answers
418 views

Better way to visualize cylinder puzzle solution

The above puzzle has been a recent source of amusement in my clique. I decided to provide a visualization to motivate solution (here): My code: ...
1
vote
1answer
72 views

Manipulate with plot and images

I have the following code: ...
4
votes
0answers
59 views

Trouble understanding TrackedSymbols

While developing a relatively complex demonstration for Manipulate I encountered the problem that my output was unintentionally self-updating in an endless loop. ...
2
votes
1answer
33 views

Strange evaluating indication of output cells

Something like this happened when I was working with two Manipulate cells. I saved the notebook, duplicated it and only keep these two cells, and opened the ...
1
vote
1answer
45 views

Why wrapping this ContourPlot inside a Manipulate changes its output into something unrecognizable?

I am a bit puzzled: I wrap the same exact ContoutPlot inside a Manipulate, and it looks all wrong (I don't know what it's drawing but it does not look like the zeros of my polynomial). What am I doing ...
1
vote
2answers
79 views

Manipulate with multiple locators [closed]

How can I work with tables/lists of Locators under manipulate? Note this is very similar to this question: http://mathematica.stackexchange.com/a/51956/2079 The ...
0
votes
1answer
18 views

Module and Manipulate: Why the Red Highlighting? [duplicate]

If I define a function that returns a Manipulate object, and the Manipulate has a local variable inside of it, the local ...
1
vote
1answer
111 views

Approaches to solving non-linear systems of equation with assumptions

The specific type of system looks as follows: \begin{align} (r-r')x+4d_1 x^3+4d_{12}xy^2 &= 0 \\ (r+r')y+4d_2 y^3+4d_{12}yx^2 &= 0 \\ \end{align} Where $r,r',d_1, d_2, d_{12}$ are all real ...
-1
votes
0answers
16 views

How to add labels and lines on an interactive diagram built in manipulate?

I have created an interactive diagram with an arrow that moves around a compass face as a result of a two parameter system using the manipulate function. I would like to label several things on the ...
2
votes
2answers
116 views

How to make a time slider like Manipulate[n,{n,1,20,1}]?

I want to make a time slider varied from 12:00:00 Jan 1,2015 to 22:30:00 Jan 1,2015 for every 5 minute. So like using Manipulate[n,{n,1,20,1}], ...
1
vote
0answers
55 views

How to restart a Clock

The code below is to demonstrate color afterimages. The user chooses a color, fixates the changing numbers at the center until they reach 30 (seconds), then manually switches to white to observer the ...
0
votes
1answer
39 views

How do I get the bounds of my Slider to correspond to the current length of a string entered in another control?

I have a text entry control in a Manipulate that I index into the value of using the value of a Slider control. This works as ...
0
votes
1answer
45 views

Why won't Select work on my Dynamic values?

Why won't Select work on my list of Dynamic values? For example if I have some Dynamic ...
1
vote
1answer
24 views

When using PopupMenu other controls stop working

I have an interactive plot in a Manipulate expression with a PopupMenu. I want to be able to select the function being plotted ...
2
votes
1answer
74 views

How can I get “custom” controls to appear and behave like “default” controls in my Manipulate?

For various reasons I need to define some controls in my Manipulate with complex behaviors that are not (or at least I don't think can be) accomplished using the ...
6
votes
1answer
62 views

Solving a PDE with a spatially piecewise-constant material parameter

I would like to solve equation for the 2D distribution of an electrical potential in the conductive medium: $$\nabla\cdot(\sigma\nabla f) = 0$$ where $f=f(x,y)$ is the electric potential (in 2D) and ...
1
vote
1answer
62 views

Entering an differential equation in a Manipulate box

Does anyone have an example of a Manipulate demonstration where the user can type into a box the differential equation, time interval, initial condition, and the result is plotted? This possible in ...
2
votes
2answers
77 views

Dynamic updating of Slot number [duplicate]

I want to change the slot number inside Manipulate[]. Here is a minimal example which does not work: ...
0
votes
0answers
76 views

How could I add the WorldMap skin to this parametricPlot3d?

How could I stamp the worldmap inthis sphere of variable radius? I´m interested in the meridian of greenwich (longitude=length=0 Degree) is in the position of the longitude=length=0ºDegree of the ...
2
votes
1answer
114 views

How to add a static JPEG into a Manipulate without slowing it down

I´m trying to add an image from a book into a Manipulate but it makes the Manipulate update very, very slowly. So much so that ...
2
votes
1answer
76 views

What are Epilog x-Axis Positions In BoxWhiskerChart (with BarSpacing option)?

I have a dataset that has a number of groups with overlapping sets. There is a point in the group within the intersection of the sets that I want to highlight by placing a marker of that point between ...
4
votes
1answer
98 views

Unwanted interaction between instances of a Manipulate function

The function trajectory below is defined in terms of Manipulate and calls the auxiliary function ...
1
vote
0answers
51 views
1
vote
2answers
56 views

Using manipulate with a defined funtion to solve a ODE

As many in this community I'm new in Mathematica and while exploring the numerical solver for differential equations, I tried: ...
2
votes
1answer
97 views

How do I dynamically construct a string from a variable number of 'PopupMenu's in 'Manipulate'?

I have a string with a variable length, determined by the value of a SetterBar and whose characters are determined by a corresponding number of ...
1
vote
0answers
74 views

Substitute for 'InputField' in Wolfram Demonstration

My application relies on the ability of users to enter text, and has several settings with a huge range of potential values best entered as strings (to comply with Wolfram's admonition to "choose your ...
0
votes
2answers
64 views

how to use InputField function within the manipulate function

I am trying to make a demonstration that can take in a matrix and create a vector field. Currently I have the demonstration all functioning but to define the matrix it uses sliders. I know they cannot ...
1
vote
2answers
158 views

Manipulating elements of a matrix, to loop or not ?

I have a grid of values generated from a MATLAB evaluation. Most of these elements are 0, some 0.5 and the remainder 1. I'd like to write a mathematica script which reads in the CSV and then, in every ...
1
vote
1answer
35 views

ListAnimate for nested lists with two sliders

I have a very complicated function of three variables (a,b,c). Now I want to plot the function value as a function of a while ...
4
votes
1answer
120 views

The case of the disappearing locators

I have a complicated Manipulate that uses multiple locators, and need to document the output by saving the graphics to a file. The problem is that when I try to save the graphics, the locators ...
1
vote
1answer
35 views

Sequence not working in Manipulate?

I have a function that I would like to construct the Manipulate parameter list with Sequence. This is a simpler example but it ...
0
votes
2answers
186 views

Not seeing plot of solution returned by NDSolve

I am having trouble with generating a parametric plot with the following code: ...
3
votes
2answers
89 views

CDF of experimental data

Here is data.csv: ...
1
vote
1answer
68 views

Combine 3D plots into one with Manipulate and different region plots

The following script generates two plots in a row, both of them controlled by Manipulate. I would like to combine them together in one. The problem I don't know how to solve is that the plotting ...
3
votes
1answer
59 views

How use TraditionalForm input in InputField?

Inside a Manipulate, I'd like one of the controls to be an InputField and to allow the input entered to be in traditional form. ...
0
votes
1answer
28 views

Size of the box using Manipulate function

I am using the following command: Manipulate[Graphics[Arrow[{{0, 0}, {a Cos[ω t], a Sin[ω t]}}]], {t, 0, 10, 0.1}] In order to display a vector in circular ...
2
votes
2answers
76 views

Dynamic visualization of two histograms

I have two histograms histo1 and histo2: ...
1
vote
2answers
69 views

How change style of InputField in a Manipulate?

Is it possible to specify a style, e.g., font size, for InputField type controls inside a Manipulate and if so, how? For ...
0
votes
1answer
41 views

Problem with showing results in a Manipulate in a cdf-file

I have a problem with showing my results correctly in a Manipulate in a cdf-file. My program (for my bachelor thesis) can calculate the income law with a income entered into an input field; the use ...
1
vote
1answer
55 views

Dynamically Update both a HorizontalGauge range and the value

I'm developing a demonstration that allows students to explore the location of a point on a number line simultaneously at various scales. I'll show a very simplified version here to get to the nub of ...
0
votes
1answer
42 views

Manipulate - Plot - Function with Parameters [duplicate]

dear community! How do I make this construction work? ...