Linked Questions

8 votes
3 answers
6k 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: ...
  • 495
6 votes
2 answers
573 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 ...
  • 75
5 votes
2 answers
2k 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 ...
  • 153
0 votes
2 answers
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 <...
  • 3,804
0 votes
1 answer
4k views

Manipulate - Plot - Function with Parameters [duplicate]

dear community! How do I make this construction work? ...
4 votes
2 answers
237 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: <...
  • 1,007
3 votes
1 answer
758 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: ...
  • 972
1 vote
1 answer
1k 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: <...
1 vote
1 answer
431 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! ...
  • 95
0 votes
3 answers
317 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 ...
  • 111
0 votes
1 answer
476 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; ...
3 votes
1 answer
120 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, ...
  • 573
5 votes
1 answer
318 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
1 answer
354 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: ...
  • 21
1 vote
3 answers
133 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?
  • 17

15 30 50 per page