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

0
votes
2answers
118 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 ...
7
votes
1answer
1k views

Manipulate (Linux version of Mathematica)

I'm runnning Mathematica 9 on Ubuntu 11.10. After installing CDF player I still have problem (most of time) with Manipulate. Only way I'm able to change value of a ...
2
votes
1answer
93 views

How to handle Indeterminate TimeConstrain

I have to use Timeconstrained[aux] first for avoid some bigs calculation that dont need and it use a lot of time of calculate, so i can't do this. ...
14
votes
0answers
116 views

Initial values in Manipulate are hijacked by existing global variable values

Is the following behaviour a bug? It's the same in all versions between 9.0-10.2.0. Let's try this simple Manipulate with the initial value of ...
6
votes
0answers
164 views

Manipulating the pitch of a sound

After reading Manipulating a continuous stream of sounds I have to ask about controlling the frequency of a Sin sound in a continuous manner, with a ...
5
votes
0answers
108 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. ...
4
votes
0answers
67 views

Does ContourPlot3D leak assignments inside Manipulate?

Update 5 Aug 2015 -- Karsten 7. found a minimal example of leaking not involving Manipulate, so the role of Manipulate seems ...
4
votes
0answers
369 views

Modelling Hysteresis with a Differential Equation

I want to implement the bulk ferromagnetic hysteresis model (mostly the Jiles-Atherton Model), see http://drum.lib.umd.edu/bitstream/1903/6043/1/PhD_99-1.pdf page 44 equation (30). The needed ...
4
votes
0answers
215 views

DynamicModule, SaveDefinitions and global functions

Unfortunately, I had not checked stackoverflow, because there, the exact same behavior was already reported. Please see the Q&A "SaveDefinitions considered dangerous". Up-front, I'm on Ubuntu ...
3
votes
0answers
190 views

Is 450 lines of code in one block too much?

I'm using Manipulate to play around with some graphs (up to 6 vertices). Users can work with one graph or find the union/intersection/difference between two graphs. The user can display the graph ...
2
votes
0answers
81 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 ...
2
votes
0answers
96 views

Manipulate causing frequent crashes

I am putting together a dynamic 3D plot which is to be "manipulated". The code does what I want it to, but keeps crashing all the time. Sometimes it crashes the kernel, so I just have to run the ...
2
votes
0answers
117 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) ...
1
vote
0answers
64 views

Arrange order of evaluations (please help these unit vectors)

I need help to control order of evaluations. Here I try to use Manipulate to control n unit vectors. Their positions are initially random but head left. The 2 operations are 1) translation: moving ...
1
vote
0answers
84 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 ...
1
vote
0answers
105 views

Simulations using alternative initial conditions

With help from some of you guys here in this forum, I have developed the following code, which works perfectly. My questions are: how to automate the simulations with varying initial conditions. In ...
1
vote
0answers
62 views

Version incompability Mathematica 10 CDF Player 9

I have aleady looked at these two questions: Is there a CDF Player for Mathematica 10? and Problem with NDSolve in Mathematica 9 / 10. My problem is as follows. I am simluating neurons, which ...
1
vote
0answers
92 views

Wrap custom control inside Manipulate or DynamicModule

[Apologies if this is a duplicate: I have looked at quite a few related questions but have not seen this issue dealt with] I have built a custom control, using the following method: ...
1
vote
0answers
65 views

How could I make visible the convex hull of 3 point inside this region?

Small version of the question How can I control the color and the Thickness of this graph?? ...
1
vote
0answers
103 views

Building Reusable Custom Controls?

I would like to build an application using Mathematica 10. I would very much like to structure the application for maximum maintainability. To this end I would like to segregate controls and user ...
1
vote
0answers
59 views

Precision of sliders in WebMathemtica

I have been developing a manipulate plot to put on the web. One of my parameters varies over a small interval, {{D32, 2.38*10^-3, "D32"}, 0.001227, 0.0049108}. This ...
1
vote
0answers
84 views

How do I keep a random value associated with a locator point as points are added?

I have a Manipulate to which I am adding and removing Locator points (one of which is different from the others, though that is ...
1
vote
0answers
74 views

Problems with manipulating plot in a dialog

G'day, guys. Here is a silly problem I am struggling with. ...
1
vote
0answers
128 views

CDF with numerous independent manipulate objects

I have been working on my senior project that involves the creation of a CDF with multiple Manipulateexpressions. I need to protect my code so I have been trying to ...
1
vote
0answers
175 views

Manipulate - Flickering graphics

I am new to mathematica and was experimenting with NDSolve and doing a simple demonstration of orbital motion and Newtons laws. I put together the following code which all seems to work except the ...
0
votes
0answers
57 views

Why is kernel quitting during Manipulate and CurrentImage

I have a Manipulate that captures a camera image using CurrentImage, does some (fairly complicated) processing on the image, and ...
0
votes
0answers
29 views

Part of longer code has an error - how can I debug?

Please can someone help me locate the problem? ...
0
votes
0answers
53 views

Cloud deployment of a Manipulate expression

I would like to deploy the following Manipulate function, which works in a Notebook: ...
0
votes
0answers
34 views

How to make autorun respect current values of variables?

I want to make a simulation based on a table that is read from a txt file (named xxxx.pose). I've put together the following code: ...
0
votes
0answers
51 views

NIntegrate unexpectedly returns complex number

I am attempting to visualise the effect of shift parameter $\gamma$ on the 3-parameter log-normal distribution. $$pdf(x;\mu,\sigma,\gamma) = ...
0
votes
0answers
53 views

Isolate graphic components in Manipulate

I have cobbled together two Wolfram Demonstration files to produce the code below. My objective is to generate the phase plane plot on the left side of the output by clicking in one of the regions of ...
0
votes
0answers
45 views

Plotting points given by user in a CDF Player Manipulate

I'm trying to make a CDF file that contains a manipulate plot including the graph of a function along with some points input by the user. Here is a toy example: ...
0
votes
0answers
41 views

Standalone cdf with precalculated result

I'm wishing you a nice day. I needed some interactive plots so I used Manipulate. My function is function of several parameters, let's call it $f \left( L, \Gamma, ...
0
votes
0answers
80 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 ...
0
votes
0answers
35 views

How can I combine an acceleration value with a VectorDensityPlot

I've seen that graphic and found that documentation and wanted to combine those two ideas within a Manipulate command like that: So I've two questions: How can I draw a dot in the ...
0
votes
0answers
57 views

How to solve ReplaceAll problem inside Manipulate

I'm running into some trouble when I try and use Manipulate (code included below). Instead of letting me manipulate the plot, I get an empty plot and this: ReplaceAll::reps: ...
0
votes
0answers
55 views

Where to put manipulate brackets for slider effect to refresh page

In order to move the plane of a best fit around to alter the sum of the residuals, I have decided to pick on one point and attach a slider to it, this adds a little variance and moves the table ...
0
votes
0answers
70 views

Using variable values from Manipulate in later Plots etc

i wanted to get write something that gives me all the values i want for the Student -t distribution. In my definition i tried to acess the variables, df and t, to later plot how it looks like in a ...
0
votes
0answers
38 views

Manipulate in modal mode with data return

I like to use Manipulate[] in modal mode. That means the next cell should be evaluated after Manipulate[] has finished!
0
votes
0answers
84 views

How can I scale a plot in my Manipulate?

I want use scale in the same way as Mister Trevor Cole in his most excellent demonstration at the Wolfram Demonstrations site: ...
0
votes
0answers
67 views

Trouble outputting Plot

I am trying to solve a system of ODEs and plot them with Manipulate but I keep getting blank outputs. Below is my code: ...
0
votes
0answers
155 views

StreamPlot,StreamPoints and the Fisher's equation

I'm trying to reproduce a StreamPlot from a vector field encoundered while analyzing the Fisher's equation (http://en.wikipedia.org/wiki/Fisher%27s_equation), for a ...
0
votes
0answers
114 views

an NIntegrate inside a manipulate in mathematica was working and suddenly won't work now. it says indeterminent and it doesn't make any sense why

my title says pretty much everything heres what I'm entering. NumericQ returns a false value but it was true before. Im loosing my patience because this is so ...
0
votes
0answers
108 views

Manipulate for Electric Field

I'm kind of new to Mathematica but I'm getting the hang of it slowly. Anyways, I'm trying to do a project on the electric field of two particles so my professor helped me with this code (sorry in ...
0
votes
0answers
54 views

Since when is a log distributed across a finite sum?

I have this: ...
0
votes
0answers
71 views

Manipulate: After Changing view of a Graphic, the sliders can't be used anymore

I have a new problem: I have exported my program as a cdf standalone. I changed the view of the graphic and now the sliders cant be used anymore. Very strange... Here is a screenshot: The orange ...
0
votes
0answers
476 views

Using Solve Within Manipulate to Model Feedback Control System Problem

This post is extremely long and I do apologize - but please bear with me with all the explanation of the context of the question - due to how long the code is I have included a hyperlink where you can ...
0
votes
0answers
208 views

Select and plot real positive solutions for a sixth order parametric equation

I need your help in order to solve the following problem: I have a sixth order equation: $ax^6+bx^5+cx^4+dx^3+ex^2+fx+g=0$ and I solved it using Solve[] command, ...