Questions on the Manipulate function of Mathematica, a function that allows the interactive manipulation of certain parameters in a Mathematica expression.
3
votes
1answer
63 views
1
vote
3answers
108 views
Control maximum value of a slider with another control
Is it possible to make $y_{max}$ of Slider[y, {$y_{min}$,$y_{max}$}] depend on another control?
For example, I have three variables (Time, Type1, Type2). I want a drop down box for the user to ...
1
vote
0answers
124 views
Teaching integer addition [closed]
I'm working with math 7 students and teaching integer addition and subtraction. The "rules" are easy, but the idea in many school districts (valid I think) is to have students experiment and develop ...
3
votes
2answers
126 views
Why does the syntax highlighter color a local symbol red inside DynamicModule?
I am adding a Module inside DynamicModule here is an example (thanks to @rm-rf for this simple example)
...
5
votes
5answers
324 views
Subdividing a polygon , equivalent fractions
I see that I was a real "doofus" here and my original question was flawed. You can't divide a polygon like you can a circle or a rectangle, except in special cases... I should have seen that right ...
5
votes
1answer
89 views
How to stop Manipulate changing view point
When using the following manipulate I can rotate the plot and manipulate the value without my view point changing;
...
7
votes
6answers
260 views
Manipulate and Turning Expressions into Functions
I've been trying to use Manipulate to do interactive plotting, but I've been running into a few problems with saved expressions. I have an expression saved as "func" and I want to work with it and ...
12
votes
1answer
184 views
Using a MacBook's builtin sudden motion sensor with Manipulate
With the following code I can get the value of the "Sudden Motion Sensor", which is build into MacBooks:
...
5
votes
4answers
189 views
Manipulate flickering and consuming lots of CPU
I am new to Mathematica and was experimenting with a simply problem of plotting a tangent to a curve and being able to move the point at which the tangent is drawn using ...
2
votes
0answers
89 views
Strange double evaluation using MorphologicalGraph
(MMA 9.0.0 on Mac OS/X 10.8)
Please consider the following snippet (this is as SMALL as I could make it -- my attempts at making a smaller repro-case eliminated the effect that I am investigating)
...
2
votes
1answer
113 views
Resetting an animation with a custom button
I have the following code, which accepts a function via an InputField, and then gradually draws that function in a Plot using ...
2
votes
2answers
152 views
Manipulate - why does the axis scale change when I release the slider?
I was playing around with Manipulate to demonstrate simple geometric idea of conic sections and put this little sample together. When i move the slider it moves my plane, which is what I expect. ...
4
votes
2answers
187 views
Moving From Dynamic Module to Manipulate
In trying to implement Vitaly's suggestion about how to take control of Locator events,
I have been able to make headway using ...
1
vote
1answer
112 views
Initialization Time Out (Weighted Financial Data)
I've been playing with WeightedData and wanted a financial engineering example, a colleague suggested working with the fractional return (...
2
votes
1answer
123 views
Using ToExpression within Manipulate
I would like to use ToExpression (or Symbol) within Manipulate. Specifically, when running ...
1
vote
2answers
97 views
Manipulate: SetterBar with list of functions
From the documentation:
Manipulate[Plot[f[x], {x, 0, 2 Pi}], {f, {Sin, Cos, Tan, Cot}}]
How do I include a function like $1/x$ or $x^2$, etc. in that list?
I ...
1
vote
1answer
144 views
Why doesn't my Manipulate work?
I am new to Mathematica and reading my way through a few books. Playing around with Manipulate and I noticed the following does not work:
...
2
votes
1answer
85 views
Slide show - how to autorun manipulate
Is there a way to automatically run a manipulate command when you move to a slide ? I am trying to create a presentation and i have a number of slides which have use manipulate and i want these to ...
5
votes
2answers
97 views
How to present a Graphic and a Table in close proximity to each other
Often, with a Plot or within Manipulate I want to display a graph and, in close proximity to it, a table showing the results of ...
2
votes
3answers
152 views
How to Dynamically Locate (get coordinates) of a point, inside a Manipulate?
I've been searching all around the "Documentation Center" and other forums and just can't get to solve this issue. I'd like to dynamically locate a point (get it's coordinates) inside a Manipulate. ...
6
votes
4answers
243 views
How to save Manipulate bookmarks permanently?
I would like to save current Manipulate parameter values to load them again later. Bookmarks (previously discussed here and here) work fine until the cell is ...
-1
votes
1answer
96 views
Manipulate code creates error messages when file is opened
When I open the file containing the following code I get a series of error messages. Once I evaluate the cell with the code the error messages disappear. What is Mathematica doing when it opens a ...
0
votes
1answer
102 views
Manipulate[]'ing complex roots of an equation using a 2D slider [closed]
I want to make a demonstration of how the complex roots of a polynomial change when I alter the coefficients. Here is my attempt:
...
13
votes
3answers
236 views
What does None mean in a control specification for Manipulate?
I am now struggling to understand code that contains the following (simplified) Manipulate structure.
...
8
votes
5answers
292 views
Manipulate Exp[I θ]+b Exp[-I θ]
I've uploaded an image showing a demonstration I'd like to create, but I definitely need help. There is a lot of talent on this list, so maybe someone can help me get started learning how to add ...
2
votes
1answer
130 views
is it possible to modify BaseStyle of Manipulate dynamically?
I can't decide what is a best color for the background for a Manipulate I am writing.
So, I thought since this is Manipulate, why not make this part configurable as well, so one can change the RGB ...
1
vote
2answers
129 views
How to make a Tooltip display dynamic based on a parameter value?
If k=3, then I would like the following to say "Sine Curve, k=3" when you hover over the output of the Tooltip command:
...
2
votes
2answers
196 views
How can I control the behavior of a Manipulate with check boxes and radio buttons?
I've been stuck for a long time on this problem, and I really would appreciate if somebody helps me move in the right direction.
I have two functions and each can take one of two forms. I am ...
1
vote
2answers
73 views
ControlsRendering and operating systems
Controls, such as those appearing in Manipulate constructs, are by default rendered depending on the operating system. Wrapping everything in ...
1
vote
1answer
74 views
Changing the number of locators with SetterBar
Typically when adding locators I would use a button i.e. something along the lines
...
2
votes
1answer
74 views
hyperlink in label
In a FrameLabel for Manipulate, I would like part of the string to be a hyperlink. Is this possible? I have tried various things ...
4
votes
1answer
76 views
“Show” with Manipulate runs fine normally, but gives errors as a CDF
I've simplified my code to what can reproduce my error. Basically, I have two lines:
...
7
votes
3answers
125 views
Is there a way to continuously update only *some* variables in Manipulate?
I have a Manipulate control, the main element of which is a single slider. Moving the one slider triggers calls to two functions - one which is evaluated very quickly, the other more slowly. I'd like ...
1
vote
2answers
176 views
Controlling the speed of Manipulate animations exported to SWF
I would like to export in .swf a "Manipulation" output. I am using
...
7
votes
1answer
122 views
Can I select or implement a Manipulate bookmark from an arbitrary control?
I understand how I can select a bookmark from the "+" menu of a Manipulate. Is there a way to select a bookmark from an arbitrary control, or define a control that ...
15
votes
1answer
168 views
Putting large amounts of data inside a self-contained Manipulate
This is half tip, half question. If one tries to put a large amount of data inside the Initialization:>(code) part of a Manipulate, as one may be compelled to do in a Demonstration or where one wants ...
4
votes
4answers
113 views
Make a slider controlling a generated character's code value
If I execute the following code:
char = 97;
Slider[Dynamic@ToExpression@FromCharacterCode@char, {0, 5}]
the slider will fail to change the value of ...
4
votes
1answer
114 views
Label names within Manipulate with ControlType->RadioButton
I modified an example from the documentation to have a RadioButton control over a specific list of values:
...
1
vote
1answer
69 views
Adding another control to Manipulate[MatrixPlot[matrix]] to take specific part of matrix
I got matrix, let's say, 100 rows and I would like to plot only 10-rows window of it.
Is it possible to add a slide control to Manipulate[] window so to shift 10-row "window" interactively?
I trying ...
5
votes
2answers
181 views
Localizing variables within a Manipulate
I have a notebook with several examples of very similar computations, each involving the same variable/parameter names of the ingredients used in a final ...
0
votes
1answer
79 views
How to generate new random numbers in a Manipulate only on demand?
I was playing with a Manipulateto visually compare calculating the mean of Normal and Cauchy random data.
...
4
votes
2answers
101 views
Vertical RadioButtonBar in Manipulate
I want to make a vertical RadioButtonBar in Manipulate. So far I only have a workaround that looks like this:
...
5
votes
2answers
156 views
Locators in Manipulate not moving properly
I thought a simple Mathematica kerning machine (for adjusting the space between characters) would be interesting, but I'm having trouble with the locators. (There are a number of other questions ...
5
votes
1answer
128 views
Placing Manipulate controls in multiple columns
I have a Manipulate construct with a square Graphic on the left side and all the controls placed on the right side. There are so ...
8
votes
2answers
137 views
Dependent Manipulate sliders
I would like to use dependent sliders in Manipulate.
First slider K0 should be independent and varied from ...
2
votes
2answers
94 views
Updating a tracked symbol inside Refresh?
I have some code inside a Manipulate, whose goal is to allow the user to edit the upper half of the matrix while keeping it symmetric at all time. The minimal code ...
2
votes
1answer
217 views
Cournot Equilibrium
I'm trying to determine reaction functions of a Cournot equilibrium for $n$ firms using the same optimal condition, using the fixed point method.
This is the method I'm using:
...
1
vote
2answers
273 views
Manipulating PlotRange
Currently, I am working with some dynamic simulations of mechanical/electrical systems (in this case a kitchen scale). The main simulation is running smoothly but while building a nice GUI around the ...
3
votes
1answer
87 views
Manipulate and FileNameSetter don't want to play nice together
In a Manipulate, one can specific the type of an individual control like so:
Manipulate[v, {v, Red, ColorSetter}]
I tried to ...
6
votes
2answers
121 views
Why aren't the locators independently enabled/disabled?
I am wondering why the Enabled setting for the first locator (point1) overrides the Enabled setting for the second locator ...
