5k views

### Manipulate using a variable defined outside of the manipulate function [duplicate]

I want to do something like this: expr := x^e; Manipulate[Plot[expr, {x, 0, 4}], {e, 1, 3}] But the plot shows up empty. Yes, it works if I do: ...
474 views

### How to show a time-dependent vector (velocity) with Manipulate? [duplicate]

I have this problem: I want to show the velocity vector Arrow[{pos, pos + vel}] with Manipulate ...
3k views

### Manipulate and ListPlot [duplicate]

I have a $300$ by $2$ matrix called r which its elements depend on parameter g. I would like to plot this matrix and change the <...
3k views

### Manipulate - Plot - Function with Parameters [duplicate]

dear community! How do I make this construction work? ...
1k views

### Manipulate Plot Sliders Not Working [duplicate]

I'm trying to use Manipulate on my function so that I can adjust parameters a, r, and ...
645 views

### Manipulate gives the output as a blank plot, but I'm not sure why [duplicate]

I'm using Mathematica 9 to try to manipulate a 3D plot. My code is: ...
813 views

### Manipulate or animate a Vector Field or VectorPlot [duplicate]

I want to plot a time dependant vector field, and see variation with time, Like this : U = 0.5 + 0.8 x; V = 1.5 + 2.5 Sin[2 Pi t] - 0.8 y; But when I do: <...
137 views

### Replacements in Manipulate [duplicate]

I would like to understand why this is not working: replacement = {a[t] -> r}; Manipulate[Plot[a[t] /. replacement, {r, 0, 1}], {t, 1, 2}] But this does: <...
303 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 ...
363 views

### Manipulate[Plot[A[X]…, returns no output [duplicate]

Here is my simple code: A[X_] := a*X^2 - b/a^2* X^3; B[X] = A[X]^2; ...
236 views

### Manipulate with dependent variables? [duplicate]

Edit Edit: It works! as @Kuba has written in This answer, the culprit seems to have been the LocalizeVariables option. The fixed code is below. Many thanks! ...
71 views

### Manipulate function [duplicate]

I'm trying to generate this simple graph using the Manipulate function f[x_] := a x + b x^2; Manipulate[Plot[f[x], {x, 0, 1}], {a, 0, 1}, {b, 0, 1}] However, ...
293 views

### Manipulate a Plot that contains a variable that contains symbol [duplicate]

This snippet mm = m Manipulate[{mm, Plot[mm x, {x, 0, 1}]}, {m, 0, 1}] (m is not defined anywhere) produces a sadly fixed ...
205 views

### Manipulate the parametric plot of a torus [duplicate]

I have failed to get Manipulate to generate a torus whose scaling functions can be adjusted. I have: ...
278 views

### Manipulating the derivative of (-1)^(x/a)+(-1)^(x/(a+5)) with respect to the parameter a [duplicate]

I'd just like to know if it is possible to use Manipulate for to show how the derivative of an expression such as ...
90 views

### Variable scoping in Manipulate [duplicate]

Here is my attempt to manipulate the value of q for the PDF function. Whenever I use the manipulate function, nothing happens to the output. Can anyone explain why?
111 views

### Simplify graphics [duplicate]

I want to simplify my complicated code write neat and systematic code. I use animate after solving differential equations. It's my Phd code and is very heavy and complicated. I want to simplify my ...
118 views

### Problem with Manipulate after declaring pure function with Hold [duplicate]

I'm trying to illustrate the generation of the conic curves with a plane and a cone surface in ContourPlot3D, when I make a static plane there is no problem, and the intersection curve was generated ...
179 views

### Manipulate plot using solution from Solve [duplicate]

Hi I'm trying to visualize a 2D equation that I have previously solved as I vary a parameter 'b'. First I solve for 'y' in terms of 'x' and 'b', then I intend to use Manipulate. ...
138 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 ...
137 views

### Apply solution rules to new functions as parameters [duplicate]

Update: I put an screenshot of how my code and problem look like at the end. Say that Mathematica solved a system of equations and got two answers {{a -> 3, b -> c, d -> 0}, {a -> -3, b -> 0, c -> 1/...
103 views

### Use Manipulate to visualize how roots of a system of equations changes with parameters - SOLVED [duplicate]

I am editing this question, I hope to be able to respect the rules. My goal is to find the roots of a system of 6 nonlinear equations (they are actually more, this is a simplified version). The roots ...
94 views

### Manipulate and global assignments [duplicate]

I've a (perhaps too) basic questions that has been bugging me for a while. Manipulate seems to ignore global assignments. For instance the following does not result in the obvious output one would ...
72 views

### Trying to plot f(x)= xsin(ax) and its derivatives in a single plot but graph shows nothing [duplicate]

The function is f[x] := xsin(ax),the first derivative is f'[x]=axcos(ax) + sin(ax)and third derivative is ...
62 views

### Using expressions in Plot with Manipulate [duplicate]

The following works exactly as advertised: Manipulate[ Plot[5 Cos[Pi t] Sin[Pi x], {x, 0, 2}, PlotRange -> {-5, 5}], {t, 0, 4}] However, if I use an ...
76 views

...
67 views

### Trying to graph a function [duplicate]

I'm trying to graph this function, the plot shows up but has no content any help would be appreciated. ...
79 views

### Scoping problem with Manipulate [duplicate]

Consider the following simple code: f = Sin[a x]; Manipulate[ Plot[f, {x, 0, 10}], {a, 0, 10}] Manipulate takes f to be ...