Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Parametric Plots with multiple parameters' topicStudent Support Forum > General > "Parametric Plots with multiple parameters"

Next Comment >Help | Reply To Topic
Author Comment/Response
Brigitte
09/16/12 01:12am

Hi, I'm trying to plot a curve, line, and sphere all as parametric equations on the same plot. I can get the curve a line on the same plot, but not the sphere. The sphere has to parameters, where as the curve and line have one. I can also plot the sphere individually.

line: w[s_] := {-3 + s, 5 + 2 s, 0} -2.5<=s<=3

sphere: b[u_, v_] := {.1*Cos[u] Cos[v], .1 Sin[u] Cos[v], .1 Sin[v]} 0<=u<=2Pi, -Pi/2<=v<=Pi/2

and the curve r[t_] is a rather large piecewise equation.

This works for the line and curve: ParametricPlot3D[{r[t], w[s]}, {t, 0, 10 \[Pi]}, {s, -2.5, 3}]


But how do I add in the sphere?

URL: ,

Subject (listing for 'Parametric Plots with multiple parameters')
Author Date Posted
Parametric Plots with multiple parameters Brigitte 09/16/12 01:12am
Re: Parametric Plots with multiple parameters Michael 09/18/12 9:17pm
Next Comment >Help | Reply To Topic