Re: Tube plot function in Mathematica???
- To: mathgroup at smc.vnet.net
- Subject: [mg108585] Re: Tube plot function in Mathematica???
- From: "M.Roellig" <markus.roellig at googlemail.com>
- Date: Wed, 24 Mar 2010 04:43:07 -0500 (EST)
- References: <hoa6hv$hr0$1@smc.vnet.net>
Hi,
actually, if you search for Tube in the Mathematica-Help you will
find all you need. Concerning your example:
ParametricPlot3D[trefoil, {t, 0, 2*Pi}, Axes -> None, Boxed -> False,
PlotRange -> All, ViewPoint -> {10, 0, 0}, PlotPoints -> {64, 16},
PlotLabel -> "The Trefoil Knot"] /.
Line[pts_, rest___] :> Tube[pts, 0.2, rest]
Cheers,
Markus
On Mar 23, 11:52 am, NeuroPulse <cosmicvoya... at gmail.com> wrote:
> Greetings,
>
> New to Mathematica. Can't seem to find a way to plot a line as a tube
> like this:
>
> http://facstaff.unca.edu/mcmcclur/java/LiveMathematica/trefoil.html
>
> Seems such an obvious function to have built in. Is there one?
>
> If not, can someone point me to one I can use in Mathematica?
>
> Thanks