MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: ParametricPlot3d not showing up when I use the manipulate command

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84249] Re: [mg84235] ParametricPlot3d not showing up when I use the manipulate command
  • From: "Ricardo Samad" <resamad at gmail.com>
  • Date: Sat, 15 Dec 2007 15:39:58 -0500 (EST)
  • References: <200712150415.XAA18916@smc.vnet.net>

Hi,

your code doesn't work because you try to manipulate the variables u and v,
which have a fixed range inside the ParametricPlot3D function. I believe yo=
u
wanted to manipulate the maxima value of u and v, what is accomplished by
the following code:

umin := 0
vmin := 0

xxx := Cos[u + v]/(Sqrt[2] + Cos[v - u])
yyy := Sin[u + v]/(Sqrt[2] + Cos[v - u])
zzz := Sin[v - u]/(Sqrt[2] + Cos[v - u])

Manipulate[
 ParametricPlot3D[{xxx, yyy, zzz}, {u, umin, umax}, {v, vmin, vmax},
  PlotRange -> All], {{umax, 1, "u Label"}, 0, \[Pi],
  Appearance -> "Labeled"}, {{vmax, 1, "v Label"}, 0, 2 \[Pi],
  Appearance -> "Labeled"}]

Regards,

Ricardo Samad



On Dec 15, 2007 1:15 AM, <vmrproject at gmail.com> wrote:

> ParametricPlot3d not showing up when I use the manipulate command
> using mathematica 6 sal2
>
> Greetings All
>
> I'm using the Clifford parametric equations using the ParametricPlot3D
> command and they work...but when I use the
> Manipulate command the image goes blank why is this? Should I be using
> Plot3d or the Graphic3D command instead?
>
> Working Code:
> umin:=0
> umax:=Pi
> vmin:=0
> vmax:=2*Pi
> xxx:=Cos[u+v]/(Sqrt[2]+Cos[v-u])
> yyy:=Sin[u+v]/(Sqrt[2]+Cos[v-u])
> zzz:=Sin[v-u]/(Sqrt[2]+Cos[v-u])
> ParametricPlot3D[{xxx,yyy,zzz},
> {u,umin, umax},{v,vmin,vmax}, PlotRange->All,PerformanceGoal ->
> "Quality"]
>
> Non workinig code when I add the manipulate command to it I'm not sure
> why:
> umin:=0
> umax:=Pi
> vmin:=0
> vmax:=2*Pi
> xxx:=Cos[u+v]/(Sqrt[2]+Cos[v-u])
> yyy:=Sin[u+v]/(Sqrt[2]+Cos[v-u])
> zzz:=Sin[v-u]/(Sqrt[2]+Cos[v-u])
> Manipulate[ParametricPlot3D[{xxx,yyy,zzz},{u,umin,umax},
> {v,vmin,vmax},PlotRange->All,PerformanceGoal->"Speed"],
> {{u,0,"u Label"},0,30,Appearance->"Labeled"},{{v,0,"v Label"},
> 0,30,Appearance->"Labeled"}]
>
>
> tia sal2
>
>
>


--
____________________________________
Ricardo Elgul Samad

tel: (+55 11) 3133-9372
fax: (+55 11) 3133-9374

Centro de Lasers e Aplica=E7=F5es
IPEN/CNEN-SP
AV. Prof. Lineu Prestes 2242
Cidade Universit=E1ria
05508-000
S=E3o Paulo - SP
Brazil
____________________________________



  • Prev by Date: Re: disable "disable dynamic updating?"?
  • Next by Date: Re: Is this a bug
  • Previous by thread: ParametricPlot3d not showing up when I use the manipulate command
  • Next by thread: Re: ParametricPlot3d not showing up when I use the manipulate command