Linked Questions

8
votes
3answers
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: ...
6
votes
2answers
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 ...
0
votes
2answers
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 <...
0
votes
1answer
3k views

Manipulate - Plot - Function with Parameters [duplicate]

dear community! How do I make this construction work? ...
2
votes
2answers
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 ...
3
votes
1answer
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: ...
1
vote
1answer
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: <...
4
votes
2answers
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: <...
0
votes
3answers
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 ...
0
votes
1answer
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; ...
1
vote
1answer
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! ...
3
votes
1answer
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, ...
4
votes
1answer
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 ...
0
votes
1answer
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: ...
1
vote
1answer
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 ...
1
vote
3answers
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?
1
vote
1answer
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 ...
1
vote
1answer
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 ...
1
vote
1answer
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. ...
0
votes
1answer
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 ...
1
vote
1answer
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/...
2
votes
1answer
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 ...
0
votes
1answer
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 ...
0
votes
1answer
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 ...
0
votes
1answer
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 ...
0
votes
1answer
76 views
0
votes
1answer
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. ...
0
votes
0answers
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 ...
1
vote
0answers
66 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 ...
2
votes
0answers
60 views

Mathematica Manipulate, Plot, Piecewise [duplicate]

I have two functions h2 and v2 that I need to graph using Piecewise and be able to ...

15 30 50 per page