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
0answers
60 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
154 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
3answers
101 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
145 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
78 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 ...
0
votes
3answers
134 views

Speed up manipulate by exporting each step as an image

Consider a manipulate function such as: ...
0
votes
1answer
73 views

Wrong Definite Integral result [closed]

When I calculate the definite integrate of (a+bt)*cos(nt). Integrate[(a + b t) Cos[n t], {t, t1, t2}] MMA gives a correct answer: ...
0
votes
2answers
125 views

How to partition three years of data into daily samples

I'm trying to find mean of temperature data list. The temperature data list has 3 hours steps which means I have 365*8=2920 temperature measurements per year. My data are temperatures of 13 years. ...
0
votes
1answer
73 views

Make several separate Manipulate controls on a single line?

How do I make several different Manipulate controls appear on a single line? I currently have both a Slider and an ...
0
votes
2answers
129 views

Manipulate and function definition

I have read the documentation, and know the way Initialization works with Manipulate, but I can't seem to understand why this piece of code ...
0
votes
1answer
147 views

Stopping- threshold and stopping- time of stochastic processes.

Rod Lm helped me to generate the following code, which I want to extend a little bit. So my intention is to use the threshold (the green line) as boundary in the following way: as soon as the process ...
0
votes
1answer
122 views

Generate Random 3D Network using GraphPlot3D and loop

Instead of writing all this out I want to do the same thing with a loop and be able to manipulate n and k. The idea is to create a randomly generated network where n is the number of nodes and k is ...
0
votes
1answer
158 views

How to load data into a Manipulate expression

I have data showing truncated octahedron geometry changing with time. How can I read those data into a Manipulate expression? To be specific, I want to manipulate ...
0
votes
2answers
74 views

Manipulate executes twice [closed]

I need help, guys! Here the script: ...
0
votes
2answers
56 views

How to show many data lines with MAnipulate?

How could I show many lines with data, usin Manipulate?? ...
0
votes
1answer
112 views

Plotting two-variable function as function of one variable with manipulate for both variables

I have a function g(x,y) and would like to plot it as g(x) with a slider to vary y. What I currently have is a g(x,y) plotted as g(x) but with y as a parameter which I can adjust: ...
0
votes
1answer
85 views

grid lines in Manipulate plots are not showing up when first rendered?

I have a Manipulate within which the plot does not render completely initially: ...
0
votes
2answers
140 views

Problems with Manipulating a piecewise function

I'm having problems with changing some parameters with "manipulate" in a piecewise function. The code i'm working with is: ...
0
votes
2answers
144 views

trouble with Dynamic range in SetterBar

It appears that I can set the range to a Dynamic variable in a Manipulate control, but not in a ...
0
votes
2answers
185 views

How Do I Upgrade a Show to a Manipulate?

I'm trying to ilustrate the difficulties in assigning bins to a data set and then running a comparison of the bins against a binomial distribution for all values- n, p. The code I have so far is ...
0
votes
1answer
279 views

Plotting the simulation of Brownian Motions with multiple thresholds

I have the following problem: I have a watermark in this model where not only the mean of all stochastic processes is calculated, but also the mean of those processes which remain beyond a given ...
0
votes
3answers
153 views

Evaluation in Manipulate [duplicate]

I have an expression assigned to a variable. For example: exp1 = a*x+b Now I would like to plot it using something like this ...
0
votes
2answers
71 views

Control Manipulate variables inside Manipulate

I have the data for graph nodes as: ...
0
votes
2answers
184 views

How to manipulate lists of parameters?

Suppose I have a function of a variable f, depending on some other parameters a and b, for ...
0
votes
1answer
74 views
0
votes
1answer
89 views

Why does initialization slow down manipulate in this case?

I'm trying to manipulate a plot of function with some parameters. The function is a long expression, so I tried to put it inside the Initialization options of ...
0
votes
3answers
94 views

Manipulate syntax

I am trying to manipulate a plot of the Bernoulli roots as follows: The following code clearly is not going to work, but I have included it in an effort to illustrate my meaning. ...
0
votes
1answer
93 views

Can a large Grid of 3DListPlots be rotated by a single Dynamic control?

So I have a few hundred plots in a grid, that I thought would be nice to adjust the data view with a Dynamic slider. I'm using Jens solution for the Grid plotting here . Manipulating multiple plots ...
0
votes
1answer
308 views

How to manipulate a Fourier sine series?

I would like to plot the Fourier sine series for $f(x) = x$. I would like to manipulate the parameter n from $0$ to $10$ and plot the sine waves over $(0,1)$. My ...
0
votes
2answers
995 views

How to manipulate plot range with fixed axes

I want to achieve something like this Manipulate[Plot[Sin[x], {x, 0, r}, PlotRange -> {{0, 10}, {-1, 1}}], {r, 0.1, 10}] but my function in place of ...
0
votes
1answer
273 views

DataRange problem in a ListLinePlot within a Manipulate

I'm trying to create a simulation of a set of lists with Manipulate[] and ListLinePlot[]. However, as my simulation starts with ...
0
votes
1answer
29 views

Full superset not displayed on Manipulate slider

I wish to incorporate ODE solution with Bondary condition sets: ...
0
votes
1answer
54 views

Manipulate using DateObject

My question is about making a animiation using 'manipulate' using DateObject as parameter. I start with importing a file.txt, like: ...
0
votes
1answer
73 views

Manipulate Slider Value on the Plot

Lets say I have a very simple manipulate in Mathematica given by: Manipulate[Plot[Sin[a x],{x,-2 Pi,2 Pi}],{a,0,5}] I want two things which I am unable to do: I ...
0
votes
1answer
55 views

Manipulate Discrete Values Labelling

I have 3 lists of plots (generated in other code), rawplots, weightplots,linearizedplots. ...
0
votes
2answers
76 views

Manipulate expression overlaid on plot of data

I am trying to use the Manipulate function in Mathematica and want to plot an expression over a scatterplot of (x,y) data. I can programme the ...
0
votes
1answer
115 views

Graphics // Triangle // Manipulation

I have been Mathematica user for a considerably short while. I have learned some of its functionality using wolfram how-to resources and the documentation. I am having difficulties constructing ...
0
votes
1answer
82 views

How to force Manipulate to use preserve control settings over successive evaluations

I have this Manipulate: Manipulate[Plot[Sin[a x], {x, 0, 2 Pi}], {a, 0, 3}] Now, I realize I had mistyped the expression and it's actually ...
0
votes
1answer
50 views

how to use Manipulate changing the values of a List?

How can I "change" the values in the list h={2,4,6} using Manipulate? (Next line was edited after hte first Alexi´s comment) I WANT to choose real values in h[[1]], h[[3]] , h[[3]] between 0 and 8. ...
0
votes
1answer
178 views

Manipulating a piecewise function

A while ago I posted a question regarding differential equations. It was supposed to model heat transfer. We've refined our model a bit (using numerical methods now). Our code now looks like this: ...
0
votes
1answer
69 views

Manipulate that remembers its own input code and can show it by request

This question is a further question to my previous one. The solution for that question works well as long as the original input Manipulate code is still provided in ...
0
votes
1answer
381 views

Manipulating and plotting two interdependent functions: [closed]

I want to plot two functions. Function G8 and G9. Both should be manipulable. Function G9 should dependent on Function G8. Function G8 has a bigger starting value. If function G8 increases by δ ...
0
votes
1answer
100 views

Possible to use Manipulate in GUIRunModal?

Is it possible to use the widget created by Manipulate within GUIRunModal? I intend to run the file using ...
0
votes
1answer
91 views

Manipulate an equation by its variable name

Let's say I have an equation that I want to manipulate. In[1]:= y=x1+ x2 When I try to manipulate it, I get: ...
0
votes
1answer
43 views

Changing the control parameters of Manipulate

I am trying to adjust the start and end points of a Manipulate function using variables that only change value if a certain condition is met. What is wrong with the code below? ...
0
votes
1answer
91 views

Using Manipulate with predefined expressions [duplicate]

EDIT: I believe this is not a duplicate question, because the answers to questions pointed to as similar DO NOT give practical solutions to the problems, at least not for normal Mathematica users like ...
0
votes
1answer
31 views

Exporting an Animation with Bookmarks

I have some code that's designed to evaluate a function that has two input variables, plot and animate said function in a specific order, and finally export the result. While I can get the function ...
0
votes
1answer
45 views

How to make `Manipulate[]` slider longer but not losing buttons?

In this question the solution to make Manipulate's slider longer is to use ControlType->Slider with ...
0
votes
1answer
42 views

Convert Dynamic to Manipulate

The following code is a modification of Wolfram code I found under ClickPane Help. I want to convert from Dynamic to Manipulate to make it easier for me to add various controls. I do want to keep the ...
0
votes
1answer
88 views

Return a local variable from a Module containing a Manipulate

I would like to create a set of custom controls that call Manipulate[] and return the value(s) set during the Manipulate session. I can easily make a version that uses something like: ...