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
3answers
46 views

Selection Limit on CheckboxBar

Is there an easy way to limit the number of selections in a CheckboxBar such that at any time you can choose only two options. I tried to use the "Enabled" option, but that grays out the whole ...
1
vote
2answers
71 views

Manipulate slider freeze, and empty value in box

Here's a MWE code to show two problems I'm experiencing with the sliders and their value box, under Manipulate : ...
0
votes
1answer
65 views

NumberForm pesky warning from Manipulate

I'm using the NumberForm command inside a Manipulate environment, and in some special cases Mathematica gives a pesky and mostly useless warning message : NumberForm::sigz: In addition to the ...
2
votes
1answer
78 views

Problems with QueueingNetworkProcess [closed]

I have a two stage queueing network and want to vary the number of servers at the second node. The input data and the Manipulate command is below: ...
1
vote
1answer
49 views

Issue plotting PDE solution with manipulate

I am trying to plot the solution to the following PDE with the help of mathematica, however, when trying to employ manipulate to animate the behavior, I find that if I try this: ...
1
vote
2answers
74 views

Problems in animating graphs and its extrema

I tested to animate 2D graph and its extrema for simple case using Mathematica. ...
0
votes
0answers
21 views

N[variable,2] displays 6 digits [duplicate]

The following code doesn't behave as I expect. Rather than getting 2 digits upon varying r, I get the default value of 6 digits. What's up? ...
1
vote
1answer
116 views

Out of range red glow on inter-dependant sliders in manipulate

In manipulate, I need to define two sliders : one basic slider, and a second one for which the end value depends on the current value selected on the first slider. How can I achieve this in ...
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
109 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
97 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
79 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
45 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
46 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
159 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
52 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
53 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
82 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
99 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
152 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
76 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
59 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
78 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
114 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
43 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
156 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 ...
4
votes
0answers
93 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 ...
3
votes
1answer
96 views

Some time difficulty in a Manipulate program inside a DynamicModule

This work began at Set PlotLabel length. ...
1
vote
0answers
82 views
7
votes
2answers
143 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
202 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
363 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
235 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
119 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
120 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
106 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
189 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
56 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
80 views

Click individual selections from a button

I have a graphic where each Arrow, Rectangle, and Text is a ...
2
votes
2answers
89 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
58 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
86 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
104 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 ...