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
0answers
32 views

Jagged look in PolarPlot with cycles > 5 [duplicate]

While developing my submission “An Asymmetric Spirograph” http://demonstrations.wolfram.com/AsymmetricSpirographs/ I ran into a problem with autorun: the drawings look very jagged. It turns out this ...
0
votes
0answers
43 views

Order of evaluation for numeric functions

I'm trying to plot a 3D vector field to illustrate an electric field of a uniformly charged disk, and I used Manipulate to change the radius R of the disk to see ...
5
votes
1answer
120 views

Manipulator reset bug

Bug introduced in 10.3 or earlier, fixed in 10.4. When the + opener is opened, two things happen: ...
-3
votes
1answer
116 views

Error in Manipulate [closed]

I am trying to create a button which will give random values for certain parameters. I am using the following in Manipulate[]. ...
1
vote
1answer
93 views

ClickPane and InputField entry in a Manipulate

By clicking at a point on the slope field for an ode, a solution is plotted through that point. Additional clicks produce more plots; the plots are saved in graph ...
2
votes
2answers
82 views

How to scope variables in Manipulate (for Autorun)

This question is connected with that one (and all other connected). The purpose is to make a demonstration that has a Dynamic part among controls (I'm aware that it is not recommended, but ...
1
vote
1answer
101 views

Show the number of rectangles under a curve

I am trying to manipulate the number of rectangles under a given curve, so far I can show the size of each rectangle, but I am not sure how to tell the number of rectangles. ...
0
votes
1answer
72 views

How to solve a linear system inside Manipulate and use the result for Plot?

I typed a code for showing a plane and a line, and solve a system, but I can´t show the intersection, because I don´t know. Here is a minimal working example for understanding my problem ( the real ...
4
votes
1answer
76 views

How to get function output with Manipulate

I have a program, which makes Gauss-Jordan transformations (not too pretty, I suppose). I want to get output with Manipulator like that: Two-Phase Simplex Method with only "step number" slider. One ...
0
votes
1answer
47 views

Parameters of Ellipsoid dependent of other variables in Manipulate

I'm very new to Mathematica; I'm trying to use it to display a Manipulate of an Ellipsoid that contains the parameters dependent of other variables. For example, my ellipsoid equation ...
3
votes
1answer
165 views

Animating magnetic field lines on a circle

So I want to create a changing vector as a function of theta and have it's origin stay on the path of a circle. The vector I want to plot is: ...
4
votes
1answer
76 views

How to get a 2D Plot from a 3D plot?

I have the following code below, that relates Concentration C[x,t], Time [t] and Space [x]: ...
6
votes
3answers
160 views

Determining closest lists near any selected point

I'm plotting several lists of data (constant lines of density, temperature quality, etc. on a pressure-enthalpy diagram), none of which are fitted well by ...
2
votes
2answers
68 views

How can I use an InputField value as a variable name to save to?

I'm trying to save some settings and results from Manipulate, and I want to be able to save them to different variable names. The code I have is something like ...
1
vote
3answers
146 views
2
votes
1answer
106 views

Manipulate gets stuck when ConvexHullMesh is made transparent

Version 10.3 The followinng Manipulate is a bit slow, but quite OK ...
1
vote
1answer
120 views

FrameRate option for Manipulate [duplicate]

I'm using the following code ...
2
votes
0answers
125 views

Animate FromQuarternionTo3DRotation nb file with 4 quarternion values

I have a csv file. Inside the csv file, there are few rows of 4 quartenion values. I would like to animate the quarternion nb in http://demonstrations.wolfram.com/FromQuaternionTo3DRotation/ I ...
11
votes
1answer
212 views

How to visualize a random forest classifier?

I'd like to recreate this visualization (from python) in Mathematica: I'm not sure how to extract the decision boundaries from a classifier with "Method" set to "RandomForest". Here's the code: ...
4
votes
2answers
117 views

Get value of symbol

ab := {{a, 10, 100}, {b, 0, 10}} Manipulate[a*b, Evaluate[Delete[ab, 0]], Button["SHow", Print[Evaluate[Symbol[ToString[ab[[1]][[1]]]]]]; Print[a, "---", b]]] In ...
2
votes
0answers
52 views

Mathematica Manipulate, Plot, Piecewise [duplicate]

I have two functions h2 and v2 that I need to graph using Piecewise and be able to ...
1
vote
0answers
68 views

how to get user defined functions in Manipulate [closed]

I am trying to write a demonstration that plots user defined function and uses this function for further calculations. I tried the following code: ...
1
vote
1answer
48 views

Manipulate - strange behaviour with NSolve (I suppose)

I have written the following code for a mechanical calculation. The calculation works, but as soon as I try to use Manipulate(needed to generate a .cdf after all), ...
2
votes
3answers
115 views

Evaluation inside a Manipulate

Let's assume I have a symbolic expression, and inside a Manipulate I define the actual values: ...
9
votes
1answer
133 views

Rotate manually 3D graphics when (auto)playing

Is there a possibility in Mathematica to allow for manual rotation of 3D graphics when (auto)playing either using Manipulate or ...
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 ...
5
votes
4answers
270 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
80 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
94 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
74 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
76 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
100 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
121 views

Graphics 3D - manipulate

Basing on this code: ...
4
votes
1answer
73 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
78 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
76 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
51 views
0
votes
2answers
181 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
122 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: ...
4
votes
1answer
167 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
144 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
79 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
162 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
95 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
82 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
113 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 ...