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
2answers
66 views

Multiple functions with shared arguments in Manipulate

I am trying to define multiple functions with the same set of parameters and then put them in a Manipulate to simulate their behavior. Ideally it should be something like that: ...
-2
votes
1answer
66 views

Manipulate aborts the computation of NDSolve with the Piecewise function after curtain time [closed]

I'm facing the problem with performance: Manipulate is working fine till end time =60 sec, after that it aborts. There is NDSolve inside Manipulate with Piecewise function, and the plot of the ...
1
vote
1answer
112 views

Visualize how a function varies as its parameters vary [closed]

I'm quite new to Mathematica, so maybe i havent figured out the right help file to look or the right function. I apologize if thats the case, but I would like to be pointed in the right direction if ...
1
vote
2answers
117 views

How can I add a checkbox to a Manipulate expression?

I'm looking for a simple example about how to add a simple On-Off switch in a manipulate function. More specifically, I defined a curve with two parameters. One is a continuous parameter that is ...
0
votes
1answer
82 views

How to colorize curves intersection in a manipulate function

I need to show the intersection area of two curves, using the manipulate function in Mathematica. Here's a fully working example, and a preview below it : ...
1
vote
1answer
47 views

3D Interaction when using CDFDeploy

In the following code, the 3D plot of the manipulation is interactive. ...
1
vote
2answers
49 views

Style changes for a moment when parameters change [closed]

I've been looking for a solution to this problem for other applications too, for some time, but haven't come up with a solution that does not involve Animate or ...
0
votes
0answers
51 views

Avoiding the “CloudObject`Private” context bug in controls of embedded Manipulates

I have Manipulates that I develop in one notebook and then paste in another. This second notebook is meant for a presentation, and shouldn't have these odd ...
1
vote
2answers
182 views

Handling of Temporal Data [closed]

I use a random function of a process which yields a Temporal Data object, I need but do not know how to recuperate the numerical values of the process in a Table from the Temporal Data.
1
vote
1answer
57 views

Use variables in Manipulate out of scope

Is there any way to use variables in Manipulate out of scope of Manipulate? For example, ...
0
votes
0answers
55 views

No Interactivity in CDF

I wrote a function in Manipulate as in Manipulate[Plot[Sin[x], {x, 0, n}], {n, 0, 100}] and exported as a CDF/saved as a CDF, I don't see anything happening ...
1
vote
0answers
84 views

Manipulate a random walk [closed]

For a college project I am manipulating a random walk. I managed to make a walk but in the manipulation every time a step is added the manipulation shows an entirely different walk. I understand why ...
1
vote
1answer
34 views

Manipulate coupled with QueueProperties

I am trying to couple Manipulate with QueueProperties and it does not seem to work. It creates the manipulate screen but it is not dynamic. It just sits there. Here is my example: ...
3
votes
2answers
103 views

Problem with PlotLegends in Manipulate

Please consider this simple code: Manipulate[ Plot[{a Sin[x], a Cos[x]}, {x, 0, 2 Pi}, PlotLegends -> "Expressions"], {a, 1, 2}] Mathematica returns this ...
4
votes
1answer
172 views

Rotating a contour plot

I am working with some students on transforming conic sections by rotation of axes. I would like to create a simple Manipulate where I plot the before and after ...
1
vote
0answers
27 views

Manipulate panel does not print (or print to pdf) the same as it displays in a notebook [duplicate]

Whenever I print (or print to pdf) a manipulate panel it never looks like the manipulate panel I have in the notebook on my display. This is what the manipulate panel looks like on my display. ...
2
votes
3answers
82 views

How to express Log[b,x] in traditional format in Epilog without changing to base e

I'm having difficulty understanding how to express text in epilog that is dynamically updated using Log[b,x]. Mathematica changes this to base e but I would like ...
1
vote
0answers
67 views

Import Excel data from within Manipulate

I am processing a set of data using Manipulate, as I need some user input as well and the whole code must be delivered as .cdf . The set of data should be imported from an Excel file which is selected ...
3
votes
1answer
89 views

Custom Multi-Interval Slider

I'm trying to make a custom generalization of the Interval Slider - one with $n$ marks to describe $n-1$ intervals. This was my attempt, but it doesn't work - it just returns itself when run: ...
2
votes
1answer
118 views

How to use manipulate to draw an image pixel by pixel

I want to draw an image pixel by pixel using Manipulate. My code almost works but it erases the old points each time. ...
1
vote
1answer
46 views

Question about using Replace All where x gets replaced with x-h

I'm having a little trouble with replace all. I'm illustrating horizontal and vertical shifting of basic graphs. The vertical shifting work fine, but the horizontal shifting does not work and has ...
4
votes
3answers
163 views

Dynamically updated text in Graphics

I created a Manipulate function that graphs a line along with its formula next to its graph. But the formula doesn't display what I want. As I use the controls sometimes I'll get the slope or the y-...
5
votes
0answers
104 views

How can I add column-rearrangement-by-mouse-dragging to my dataset display function?

A subject that I seem to take at heart... I was expecting an upgrade of the default Dataset display in MMA 10.3.1. It did not happen. Among the features I would have liked to see improved is a better/...
3
votes
1answer
100 views

Some time difficulty in a Manipulate program inside a DynamicModule

This work began at Set PlotLabel length. ...
1
vote
0answers
88 views
7
votes
2answers
149 views

Panning with Mouse + Moving A Curve

I would like to be able to move any curve (for example f(x)=x, or g(x)=x^2) by mouse dragging the particular curve. I would like to keep the functionality I have for panning across the screen in ...
12
votes
1answer
209 views

How to see a code preview (in Experimental`Explore[] or related GUI)

I have been messing around with built in Experimental`Explore[] function. You can call the function in Mathematica yourself to see what it looks like. It is a GUI ...
10
votes
4answers
368 views

Panning with Mouse

This is related to the question i just asked here but not the same. How could i create a manipulate that lets me move the graph to any position i want by clicking and dragging anywhere. Here is an ...
7
votes
3answers
239 views

Panning by moving Origin (0,0) with Mouse

Given a 10 by 10 grid like the one below and the axis origin somewhere on the grid, I would like to be able to place the mouse pointer at the axes origin (0,0), then press and hold the mouse button ...
4
votes
1answer
122 views

How to display the controls where I want?

I would like to show the controls as in the image, but after I try ControlPlacement->Right and some combinations of Row[] and Column[], I can´t get the solution. Could you help me? ...
2
votes
1answer
121 views

Function not returning number [closed]

I am quite new to Mathematica and I guess this question is really basic, but I can't figure it out myself. I'm making a simple notebook that plots a Hamiltonian function, a plane of constant energy, ...
0
votes
0answers
108 views

Using a standalone CDF to replace a typical graphing calculator

I can use Manipulate[] to create a grapher that emulates some of the functionality of a typical graphing calculator.By using ...
0
votes
1answer
86 views

Manipulate a graph from data

I want to manipulate some data, to do this i create a graph. But i don´t know how to manipulate the data. ...
1
vote
1answer
196 views

Extracting data from NDSolve result

Normally I wouldn't ask such question before even read the material from the Wolfram Documentation about what I'm trying to do but this time I have a pretty tigh dead end. I apologize for that. So, ...
3
votes
2answers
61 views

How to make a control label display traditional form notation

How do you make a control label display notation in tradition form? I would like the label to display the function "f(x)= (1/2)x+1" but in traditional form. How could I modify this code so it works? ...
1
vote
1answer
81 views

Click individual selections from a button

I have a graphic where each Arrow, Rectangle, and Text is a ...
2
votes
2answers
93 views

How to put Control Objects of Manipulate into Opener View

I am attempting to put a control object of Manipulate[] into an OpenerView[] which will allow me to hide and show controls. The ...
0
votes
1answer
66 views

Plotting an expression with a complex-valued exponential [duplicate]

Given the wave function $\Psi\left ( x,t \right ) = \psi\left ( x \right )T\left ( t \right )$ with the spatial component of the wavefunction $\psi(x) = \psi_{0}e^{-ikx}$, I tried ...
3
votes
1answer
92 views

Why are PolarTicks displaying as decimals instead of fractions in Manipulate?

I'm building a graphing polar graphing palette to create graphs quickly. I setup a PolarTicks[] option to take in fractions using a slider in ...
0
votes
0answers
22 views

Is it possible to create a button that shows another button on Manipulate[ ] function? [duplicate]

I want to create a program which allow us to choose an option, and depending on the choice, it may show new options. I want to apply this concept with buttons on a ...
1
vote
1answer
109 views

Graphing a pulsating sphere in a 3D vector field to illustrate divergence at point

I am attempting to create an interactive animation using Manipulate[] that allows me to move a point(or small sphere) around in a vector field to illustrate ...
5
votes
1answer
100 views

TrackingFunction not working properly if range containes a mathematical constant

Bug introduced in 10.0 and persisting through 10.4.1 or later Answering this question I had to realize that TrackingFunction isn't working properly if at least ...
4
votes
3answers
140 views

Showing results of the previous value in Manipulate plot

I want to show a multi-variable Manipulate plot with the current and last setting together but not using Bookmarks as I want to ...
-1
votes
1answer
142 views

Fabry-Perot interferometer using Airy function in Mathematica

I am trying to plot T(transmission) and R(reflection) coefficients. I am new at Mathematica, so please excuse possible crude errors. This is my code: The output gives just an empty animation ...
0
votes
0answers
33 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
45 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
126 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
121 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
100 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
91 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 nonetheless....