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

Manipulate starts to recalculate infinitely

I'm fitting data inside Manipulate and it works good model = Evaluate[H1*complex[r, k1, 1]]; fitRes = FindFit[data, model, {H1, k1}, r, Method -> "NMinimize"]; ...
3
votes
1answer
63 views

Control with label doesn't work properly inside Manipulate

Consider the following example: Manipulate[{1}[[i]], {i, {1 -> "a"}}] Execute it and you'll get: The correct result will be displayed if you select ...
6
votes
4answers
274 views

Object isn't fully displayed in DialogInput

Update: Here's a simper example to reproduce the issue: DialogInput[Table[InputField[], {50}], WindowSize -> All] On my 1366×768 screen only no more than 17 <...
1
vote
1answer
83 views

Increase Performance in the Manipulate Command

The code below pretty much looks like and does what I want it to. However, it is sluggish. I realize I have many calculations, and perhaps this is the best I can hope for. But if anybody has any idea ...
2
votes
1answer
98 views

How to prevent a definition from overwriting my input

I developed the following manipulate code to be a limited knockoff of Polking's dfield. I export the code to Enterprise CDF so that one may type a first-order ODE into the input box and create a slope ...
3
votes
0answers
77 views

Showing Mathematica's dynamic UI in external Java programs

I want to run Mathematica from an external Java program and display an interactive app in my own Jpanel. Is it possible? When I tried using MathGraphicsJpanel, I am getting only the snapshot of the ...
1
vote
2answers
81 views

How do I animate just one variable out of three inside Manipulate/Not show line until Animate?

1) In the following code, I want to Animate just the Elapsed Time (t) variable. How do I write an ...
1
vote
1answer
105 views

Multiple interactive adjusters for multiple parameters including locator

I want to make a program that allows to vary multiple parameters via multiple adjusters. It may well be that this question has been answered already somewhere. However, I am pretty new to programming ...
0
votes
0answers
69 views

How to scope all variables in Manipulate (to upload Demonstration)? [duplicate]

I'm using the Manipulate structure of the simplified form below in order to make Wolfram Demonstration. ...
1
vote
2answers
126 views

Graphics 3D - manipulate

Basing on this code: ...
4
votes
1answer
76 views

Manipulate: how to hide manipulator

Suppose one creates a simple Manipulate in a notebook, with a single numerical control and no changing of the default appearance. Then there is a small + in the upper right, for accessing the ...
3
votes
2answers
83 views

(Again) eliminate curly brackets from PopupMenu?

How can I display the items in a PopupMenu , which is fed by a list, without the curly brackets? The sample code is: ...
1
vote
1answer
78 views

How to create a new window with manipulate? [duplicate]

How can I create a new window with a Manipulate expression? Currently I'm using: ...
1
vote
1answer
77 views

Graph of second order polynomials [closed]

As I mentioned before, I want to write a notebook for teaching graphs of second order polynomials that shows discriminant and the conditions when a>0, a<0, having real roots, having no real roots. ...
0
votes
0answers
39 views

Creating plots of second order polynomials [duplicate]

I am supposed to write a notebook meant for teaching graphs of second order polynomials, a x^2 + b x + c : There should be a 2x2 grid of four significant plots (<...
0
votes
1answer
54 views
0
votes
2answers
186 views

Approximate UnitStep for use in Enterprise CDF

The following Manipulate code displays the VectorPlot for all functions. (This code is a subset of a more extensive notebook which is based on the structure you see below. Consequently, I need to ...
0
votes
1answer
130 views

How to plot an arbitrary function in mathematica [duplicate]

I have plotted and manipulated the Von Mises Distribution as follows: Then I want to change the function of the distribution a bit Because I want its function be as: $$p_{\psi}(\psi|\mu,\kappa)=\...
4
votes
1answer
176 views

Can I label a Manipulate panel?

I wasn't able to find a way to label a Manipulate panel (not the sliders, etc.). Is it indeed not (directly) possible?
7
votes
1answer
151 views

Manipulate: strange behavior of Manipulator

Bug introduced in 10.2 and fixed in 10.3 Consider this simple code: Manipulate[n, {n, 1, 5}] When we evaluate it, we'll get Now try to click on the little ...
1
vote
1answer
82 views

Display coordinates of pointing device in VectorPlot

I want to show the coordinates of the (mouse) pointing device as I move the pointing device over the VectorPlot without a (right or left) click. I have tried ToolTip and MousePosition but I cannot get ...
2
votes
2answers
165 views

Show and hide various pieces of information in a Manipulate

I wanted to change the visibility of a function and its additional informations within a plot through the help of a checkbox, as shown in that post: Toggle visibility of elements in a plot But ...
2
votes
1answer
102 views

Dynamic update of displayed quantities on a Plot within manipulate

I'll admit that I only skimmed some other threads about this. They seem rather complicated in contrast to my simple problem. I have two lines in space defined by a two-by-two coefficient matrix. I ...
3
votes
0answers
83 views

Manipulate After upgrading to windows 10 [closed]

After upgrading to windows 10, whenever I run any kind of Manipulate function in Mathematica 10.1, the program freezes. This can be as simple as Manipulate[x,{x,0,5}]. Does anyone else have this ...
-1
votes
1answer
115 views

Running a function with manipulators in a popup window [closed]

I have a function, pasted at the bottom, which I would like to encapsulate into a function that can be called, and the program would then run in a popup window, return the values energy, peaklocation ...
3
votes
2answers
83 views

Why doesn't variables take value from manipulate?

I am new to Mathematica and I am working on a code on which the final output depends on variables evaluated from the inputs A simplified example: (x,y) inputs ,(q,w) intermediate values, (z) output <...
2
votes
1answer
81 views

Use slider controls to set function domain of plotted function

I want to display Plot[f,{t, t1, t2}] in a Manipulate with the domain {t1, t2} specified by ...
0
votes
1answer
61 views

Using Manipulate function on time series data [closed]

I have a list of data {{date,real},{date,real},...,{date,real}} and I want to use the Manipulate function on the data. How do ...
5
votes
4answers
240 views

How should I deal with messages being produced by my Manipulate?

I have made a knockoff of John Polking's dfield for a web-embedded CDF (via Enterprise Mathematica). My code extends that from Belisarius who last year showed me how to use ...
2
votes
0answers
102 views

Mathematica 10.2 Manipulate function settings problem [duplicate]

I am trying Manipulate function in Mathematica 10.2. The problem is that when I move the slider the graph manipulates but when I click the + sign/expand button to ...
4
votes
0answers
92 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 ...
2
votes
1answer
56 views

ControlActive ignores SetterBar

As shown in the following example, ControlActive does not seem to respond to controls such as SetterBar. Moving the slider ...
0
votes
1answer
108 views

Specifying a PopupMenu in a Manipulate expression

In my previous question here, I had a problem with showing GeoGraphics in a CDF document, but thanks to other users, I was able to solve it. But the code I wrote to test my work gave an error. I tried ...
4
votes
1answer
144 views
14
votes
0answers
204 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 ...
9
votes
1answer
829 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
1answer
99 views

Visualisation of feedback loops in a directed graph

Here are the nodes (vertices) of my graph: ...
1
vote
1answer
61 views

Manipulate not updating the way I expected it to

I want to make a selector that allows me to select a date and, depending on the date, load a list of car makes. After that, I should be able to select a specific car make. ...
2
votes
2answers
75 views

Running an animation if a certain condition is met using Manipulate

I'm having trouble finding a way to play an animation (inside Manipulate) if a certain condition is met. I'm representing liquid volume with rectangles and if the ...
1
vote
0answers
95 views

Possible bug with Manipulate [duplicate]

Bug introduced in 10.1.0 and fixed in 10.2.0 I am observing a potential bug not present in MMA 10.0.1.0 on Win 7 Ultimate, but observable on MMA 10.1 on Win 7 Enterprise. It seems to work with ...
3
votes
2answers
107 views

Interdependent Setter controls in Manipulate?

Documentation here shows a nice example of interdependent Slider controls in Manipulate: ...
0
votes
1answer
300 views

How to Include multiple plots in a single Manipulate [closed]

For example if I had one function Sin[x]/x=c and a second one Cos[x]/x=c than Manipulate for ...
1
vote
2answers
59 views

Specifying the PlotRange according to a desired center

I have this plot of $f(x)=\ln x$ and the tangent line at $x=e$, and I'd like to specify the PlotRange so that it's the rectangle with its centroid at $(e,1)$, kind ...
1
vote
1answer
135 views

How to make an animation of circle “decaying” into two smaller circles using Manipulate? [closed]

I have defined three functions: $x[t], x_1[t],x_2[t]$. $x[t]$ describes the motion of a circle of some radius $r$ that, at some moment $t_0$ decays into two circles of radii $r_1$ and $r_2$. The ...
1
vote
0answers
19 views

Manipulate inside Module - “Order of evaluation conflicts” [duplicate]

In this example, Manipulate is contained within a Module: ...
6
votes
3answers
168 views

Easy way to bind rect to geometrical 2D line?

I got stuck with the following problem. For some calculation and visualization purposes I need to draw different shapes (like rectangle) with proper slope on custom line. The trivial example: ...
3
votes
2answers
192 views

Manipulate a 2D point controlled simultaneously by Locator and its coordinates

I'm trying to have a point in the plane which can be manipulated both using Locator as well as inserting its $x$ and $y$ coordinates. My attempts at doing this are: ...
4
votes
1answer
75 views

Set control A to a specific value if control B is ever changed?

I've had trouble with this and issues similar to this in the past, where I need to track when a controlled variable is changed. Basically I have two Sliders (call ...
3
votes
2answers
132 views

How to use locally scoped dynamic variables in Manipulate for expression and control parameters

I have a Manipulate that has dynamic variables that I want to use in the displayed expression and use in the parameters for the manipulate controls. I only ...
2
votes
1answer
68 views