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

1
vote
1answer
80 views

How to Increase Performance of Manipulate Recalculating List?

I have a list in the form of prices below. ...
1
vote
2answers
78 views

Manipulate with Locator question

Here is an example from Mathematica's help: Manipulate[Graphics[Polygon[pt], PlotRange -> 2], {{pt, {{0, 0}, {1, 0}, {1, 1}, {0, 1}, {1, -1}}}, Locator}] ...
1
vote
1answer
70 views

Dynamic control values for Slider2D

I would like to have a Manipulate object with a 2D slider whose boundaries change dynamically depending on other controls. For linear sliders this seems to work ...
1
vote
1answer
85 views

Axis Labels Disappear With Manipulate

I have a ListPlot3D with custom axis labels that I am scrolling with Manipulate. My issue is that the axis labels scroll away as ...
1
vote
1answer
118 views

Locators, lists of variable length, all in Manipulate

I'm trying to implement a complicated Manipulate[] interface. I'm not really interested in working code, but for those interested, I would like the program to allow you to drag around a variable ...
1
vote
2answers
89 views

Slider with varying scales

I am trying to implement a slider whose control range varies depending on the current value: ...
1
vote
1answer
254 views

Combining Plot and ListPlot in a manipulation [closed]

I have a plot of data points using ListPlot and another plot using a function. I want the function to look like the data points. I am able to use ...
1
vote
2answers
59 views

Enlarging a contour plot

I just started using Mathematica, and when I entered the following: ...
1
vote
1answer
89 views

Rendering of a HighlightGraph in a Manipulate content pane distorted by changing the highlighted edge

A HighlightGraph inside a Manipulate initially displays correct however after approximately 2 seconds, the layout changes and ...
1
vote
1answer
71 views

Output resets when after closing/reopening the file

I've been having an issue in a project I am working on for a demonstration that involves a manipulate containing buttons that influence local variables. In essence, the problem is demonstrated by this ...
1
vote
1answer
71 views

Exporting a plot inside Manipulate - Update first, then Export

I want Mathematica to excute the first action inside the Button fully before executing the second action. In particular, look at the following plot which I want to ...
1
vote
1answer
116 views

Scope of variables within a Manipulate expression [duplicate]

I have a problem in defining the local variables. I have this code: ...
1
vote
2answers
115 views

Error Trapping Complex Infinity Error due to Divide by Zero in Manipulate

I want to use a Manipulate that has two controllers that end up as a difference in the denominator of an expression. It is easy enough to set up the initial ...
1
vote
1answer
129 views

TabView switches tab number without user input in first evaluation

I've attempted to use TabView in a Manipulate to display sets of controls and alter a "display" associated with each set of ...
1
vote
1answer
236 views

Overlaying a Plot within a Manipulate Control Panel

Is there a way to overlay a plot into a blank area of a Manipulate control panel, that will still update according to the controls in the Manipulate function? This is an image of what I have: You ...
1
vote
1answer
132 views

In a manipulatable graph, display x values of all intersections with one of the lines?

I'm doing a project about Moore's law, I'm trying to create a graph that which you can manipulate, but I want the x-values of the intersections with one the lines to be displayed; how would I go about ...
1
vote
1answer
155 views

How can I pass in parameters for multiple controls to a function that returns a Manipulate?

For instance, I have a some "commands" that I use regularly, for example: ...
1
vote
1answer
218 views

Manipulate with variable number of sliders plus variable number of functions

I'm trying to setup a Manipulate where I have a variable number of sliders similar to this one, where every slider controls a function. In my case, there will be an additional slider which sets the ...
1
vote
1answer
92 views

Increase Size of InputForm in Manipulate

I would like to set a variable equal to a copy n' pasted list, all within the Manipulate[] environment: Manipulate[list,{list,0}] I would like to view and edit ...
1
vote
1answer
648 views

Manipulate showing the trajectory of a particle along a parametric curve

I have a particle which follows a certain trajectory given by rx and ry ...
1
vote
2answers
146 views

Lists not being recognized correctly within manipulate

I've created a keyboard-free panning system within Mathematica. The code does the job, but I continually get errors in relation to it, and I cannot seem to get it to perform within a CDF because of ...
1
vote
1answer
215 views

Averaging an oscillating function

I have a function Ca[t] that oscillates like a Sine curve, that I used NDSolve to obtain. I want to calculate the average value ...
1
vote
1answer
407 views

how to show value of y-axis value using manipulate to select x-axis value

How to add a slider for the x-axis that shows the value of the y-axis based on the position of the slider. Basically providing the result of the probably given a specific lot percent defective, lpd ...
1
vote
1answer
95 views

Using Manipulate Feature for Two ODE's

So I have not been able to find any examples of the Manipulate feature for two ODE's. I would like to plot a graph of x[t] vs. y[t] and manipulate the initial conditions, v and theta. Thank you very ...
1
vote
1answer
212 views

Manipulate not accepting default values

I have pasted my Mathematica code below. For some reason, the default value for h, or Δx, while set to 4.5 in the code, keeps displaying at -4 instead. I have been over and over this example, and I ...
1
vote
1answer
314 views

Manipulate indexed Interpolating Functions

MWE I have some data indexed by gamma. For each gamma I want to find the intersection points of two lists and plot the lists ...
1
vote
0answers
52 views

How to restart a Clock

The code below is to demonstrate color afterimages. The user chooses a color, fixates the changing numbers at the center until they reach 30 (seconds), then manually switches to white to observer the ...
1
vote
0answers
48 views
1
vote
0answers
72 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
1answer
24 views

Using MatrixForm in a Manipulate

I have declared some lists vAwG = {{{0}, {0}}, {{1}, {1}}}; psi = {0, 1, 2, 3}; vBwB = {{{1}, {0}}, {{0}, {1}}}; and created a function ...
1
vote
1answer
43 views

Auto generate parameters in Manipulate

I have a manipulation problem that I can't find a solution online. Here is a simple example from my case. ...
1
vote
0answers
91 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
55 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
65 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
1answer
136 views

Manipulate - Evaluating Value of Function

I would like to visualize the properties of a threshold, which is a value of a function. Unfortunately, the value is expressed as scientific value (an approximation with 3-5 decimals would be fine) ...
1
vote
0answers
58 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
80 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
1answer
65 views

How to use a self-defined function in the Manipulate function

This is what I want Manipulate[ Plot[ Which[h < a, 1 - 1.5 h/a + 0.5 (h/a)^3, h >= a, 0], {h, 0, 8}], {a, 5, 10}] Is it possible to rewrite it ...
1
vote
0answers
56 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
81 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
1answer
117 views

Functions defined via inverse Laplace transform - plotting issue [closed]

I need to define a function $k(t,c_1,\alpha_1,c_2,\alpha_2)$ in the following manner: ...
1
vote
0answers
68 views

Problems with manipulating plot in a dialog

G'day, guys. Here is a silly problem I am struggling with. ...
1
vote
0answers
122 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
61 views

Abridging Lists of Equations within NDSolve, Manipulate [duplicate]

I have a pretty little NDSolve function that I've finally decked out with manipulatable (by sliders) coefficients, which changes the graph in real time. However, I ...
1
vote
0answers
167 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
2answers
180 views

Not seeing plot of solution returned by NDSolve

I am having trouble with generating a parametric plot with the following code: ...
0
votes
3answers
105 views

how could I repalce Sqrt[x^2+y^2+z^2] back to r

do a calculation in mathematica r = Sqrt[x^2+y^2+z^2] D[D[E^(I (-k r + t \[Omega]))/r, x], y] but how could I get back to repalce Sqrt[x^2+y^2+z^2] back to r ...
0
votes
3answers
161 views

How to create a discrete 2d slider using existing 2d data?

data = Sort[RandomReal[{0, 1}, {100, 2}]]; Manipulate[pt, {pt, data}, ControlType -> Slider2D] I get a error message: Manipulate::vstype: ControlType -> ...
0
votes
1answer
82 views

Slider moving in irregular steps

Sorry - bit of a yes/no question: Is it possible to make the slider from a manipulation jump in irregular steps? Or would the best way to overcome this be to just create a series of buttons that jump ...