Discussion:
missing in Manipulate
(too old to reply)
Narasimham
2014-04-27 06:07:44 UTC
Permalink
Clear[F,f,g,u,v,w]
f[u_,v_,w_]=Cos[w]Cos[u]Cos[v]-Sin[w]Sin[u]Sin[v];
g[u_,v_,w_]=Cos[w]Cos[u]Sin[v]+Sin[w]Sin[u]Cos[v] ;
F[u_,v_,w_]={Cos[w]Cos[u]Cos[v]-Sin[w]Sin[u]Sin[v],Cos[w]Cos[u]Sin[v]+Sin[w]Sin[u]Cos[v]} ;
ParametricPlot[{f[2,v,w],g[2,v,w]},{v,0,2 Pi},{w,0,Pi},PlotRange->All]
Manipulate[ParametricPlot[F[2,v,w],{v,0,2 Pi},PlotRange->All],{w,0,Pi,Pi/12}]

In function definition two function arguments f,g are combined in a list of F.

When one variable is frozen, the Manipulate works to produce circles only, while it should be displaying ellipses.What do I miss here?

Regards
Narasimham
Bob Hanlon
2014-04-28 01:44:42 UTC
Permalink
Freeze the other variable

Manipulate[
ParametricPlot[F[2, v, w], {w, 0, Pi}, PlotRange -> All], {v, 0, 2 Pi,
Pi/12}]



Bob Hanlon
Post by Narasimham
Clear[F,f,g,u,v,w]
f[u_,v_,w_]=Cos[w]Cos[u]Cos[v]-Sin[w]Sin[u]Sin[v];
g[u_,v_,w_]=Cos[w]Cos[u]Sin[v]+Sin[w]Sin[u]Cos[v] ;
F[u_,v_,w_]={Cos[w]Cos[u]Cos[v]-Sin[w]Sin[u]Sin[v],Cos[w]Cos[u]Sin[v]+Sin[w]Sin[u]Cos[v]}
;
ParametricPlot[{f[2,v,w],g[2,v,w]},{v,0,2 Pi},{w,0,Pi},PlotRange->All]
Manipulate[ParametricPlot[F[2,v,w],{v,0,2
Pi},PlotRange->All],{w,0,Pi,Pi/12}]
In function definition two function arguments f,g are combined in a list
of F.
When one variable is frozen, the Manipulate works to produce circles only,
while it should be displaying ellipses.What do I miss here?
Regards
Narasimham
Continue reading on narkive:
Loading...