Drawing with TubePlot: Difference between revisions
From Knot Atlas
Jump to navigationJump to search
DeldaRcoal (talk | contribs) No edit summary |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[http://s1.shard.jp/olharder/auto-reply-business.html auto company insurance top |
|||
] [http://s1.shard.jp/galeach/new29.html asian womens center |
|||
] [http://s1.shard.jp/galeach/new170.html regional asia japan education] [http://s1.shard.jp/losaul/yamaha-outboard.html australia wikipedia |
|||
] [http://s1.shard.jp/galeach/new134.html what is the largest desert in asia |
|||
] [http://s1.shard.jp/olharder/value-of-groucho.html acura parts and performance accessories - acura auto parts |
|||
] [http://s1.shard.jp/bireba/www-avg-antivirus.html antivirus software for download |
|||
] [http://s1.shard.jp/bireba/symantec-antivirus.html etrust antivirus 7.0 update |
|||
] [http://s1.shard.jp/olharder/autonomous-systems.html autograph collector simon vaughn |
|||
] [http://s1.shard.jp/olharder/autoroll-654.html index] [http://s1.shard.jp/frhorton/qwl7aihru.html africa country gambia |
|||
] [http://s1.shard.jp/olharder/autopilot-off-clockwork.html automatic swatch |
|||
] [http://s1.shard.jp/galeach/new147.html gay asian clip |
|||
] [http://s1.shard.jp/frhorton/v8af479gm.html how many people speak spanish in africa |
|||
] [http://s1.shard.jp/olharder/autoroll-654.html index] [http://s1.shard.jp/olharder/siemens-automotive.html auto bad credit loan party private purchase |
|||
] [http://s1.shard.jp/galeach/new173.html hope outreach ministries south asia |
|||
] [http://s1.shard.jp/losaul/unley-council-south.html anzon australia limited |
|||
] [http://s1.shard.jp/losaul/bmw-australia.html stomp records australia |
|||
] [http://s1.shard.jp/olharder/autoroll-654.html domain] [http://s1.shard.jp/bireba/avp-antivirus-free.html manually uninstall mcafee antivirus |
|||
] [http://s1.shard.jp/bireba/symantec-norton.html macfee antivirus free |
|||
] [http://s1.shard.jp/losaul/alice-springs.html australian gold jaded |
|||
] [http://s1.shard.jp/bireba/macintosh-antivirus.html kaspersky antivirus file server 5.0.40 key |
|||
] [http://s1.shard.jp/frhorton/sofu2962u.html cheap air flights south african airlines zaragoza |
|||
] [http://s1.shard.jp/losaul/tenders-australian.html gst rate in australia |
|||
] [http://s1.shard.jp/losaul/redfern-sydney.html drive.com australia |
|||
] [http://s1.shard.jp/bireba/antivirus-windows.html le zum 2004 d'antivirus de norton runterladen des kostenlos |
|||
] [http://s1.shard.jp/galeach/new195.html southeast asia maps 1914 |
|||
] [http://s1.shard.jp/olharder/auto-bank-repossessed.html download slayers evox auto installer v2.5 |
|||
] [http://s1.shard.jp/frhorton/gicyohdlg.html cricket scores south africa v england |
|||
] [http://s1.shard.jp/galeach/new43.html asia di islam tamadun tenggara |
|||
] [http://s1.shard.jp/olharder/audi-automotive.html audi automotive parts] [http://s1.shard.jp/bireba/extendia-antivirus.html cyberscrub antivirus review |
|||
] [http://s1.shard.jp/olharder/canadian-auto.html kia automotives |
|||
] [http://s1.shard.jp/olharder/autoroll-654.html sitemap] [http://s1.shard.jp/galeach/new104.html asian cosmetics |
|||
] [http://s1.shard.jp/frhorton/os7hwbkxo.html african american article counseling man online research |
|||
] [http://s1.shard.jp/bireba/avg-antivirus.html panda titanium antivirus 2005 download |
|||
] [http://s1.shard.jp/olharder/autoroll-654.html top] [http://s1.shard.jp/olharder/autoroll-654.html map] [http://s1.shard.jp/olharder/autoroll-654.html link] [http://s1.shard.jp/olharder/autoroll-654.html link] [http://s1.shard.jp/losaul/microbiology.html dietetics association australia |
|||
] [http://s1.shard.jp/losaul/ladies-fashion.html camper van motor home club australia |
|||
] [http://s1.shard.jp/bireba/norton-antivirus.html antivirus for exchange 5.5 |
|||
] [http://s1.shard.jp/bireba/panda-free-antivirus.html avast antivirus serial |
|||
] [http://s1.shard.jp/olharder/automobile-essai.html automatic water hose reel |
|||
] |
|||
http://www.textricnoric.com |
|||
http://www.texteltdomdar.com |
|||
{{Manual TOC Sidebar}} |
{{Manual TOC Sidebar}} |
||
Line 47: | Line 6: | ||
<!--Robot Land, no human edits to "END"--> |
<!--Robot Land, no human edits to "END"--> |
||
{{HelpLine| |
{{HelpLine| |
||
n = |
n = 2 | |
||
in = <nowiki>TubePlot</nowiki> | |
in = <nowiki>TubePlot</nowiki> | |
||
out= <nowiki>TubePlot[gamma, {t, t0, t1}, r, opts] plots the space curve gamma with the variable t running from t0 to t1, as a tube of radius r. The available options are TubeSubdivision, TubeFraming and TubePlotPrelude. All other options are passed on to Graphics3D. TubePlot[TorusKnot[m, n], opts] produces a tube plot of the (m,n) torus knot.</nowiki>}} |
out= <nowiki>TubePlot[gamma, {t, t0, t1}, r, opts] plots the space curve gamma with the variable t running from t0 to t1, as a tube of radius r. The available options are TubeSubdivision, TubeFraming and TubePlotPrelude. All other options are passed on to Graphics3D. TubePlot[TorusKnot[m, n], opts] produces a tube plot of the (m,n) torus knot.</nowiki>}} |
||
Line 59: | Line 18: | ||
n = 3 | |
n = 3 | |
||
in = <nowiki>Show[TubePlot[{Cos[t], Sin[t], 0}, {t, 0, 2Pi}, 0.1]]</nowiki> | |
in = <nowiki>Show[TubePlot[{Cos[t], Sin[t], 0}, {t, 0, 2Pi}, 0.1]]</nowiki> | |
||
img= |
img= Drawing_with_TubePlot_Out_3.gif | |
||
out= <nowiki>-Graphics3D-</nowiki>}} |
out= <nowiki>-Graphics3D-</nowiki>}} |
||
<!--END--> |
<!--END--> |
||
Line 94: | Line 53: | ||
<!--Robot Land, no human edits to "END"--> |
<!--Robot Land, no human edits to "END"--> |
||
{{Graphics| |
{{Graphics| |
||
n = |
n = 7 | |
||
in = <nowiki>Show[TubePlot[ |
in = <nowiki>Show[TubePlot[ |
||
{Cos[t], Sin[t], 0}, {t, 0, 2Pi}, 0.3, TubeSubdivision -> {6, 3} |
{Cos[t], Sin[t], 0}, {t, 0, 2Pi}, 0.3, TubeSubdivision -> {6, 3} |
||
Line 111: | Line 70: | ||
<!--Robot Land, no human edits to "END"--> |
<!--Robot Land, no human edits to "END"--> |
||
{{Graphics| |
{{Graphics| |
||
n = |
n = 8 | |
||
in = <nowiki>Show[TubePlot[ |
in = <nowiki>Show[TubePlot[ |
||
{Cos[t], Sin[t], 0}, {t, 0, 2Pi}, 0.2, |
{Cos[t], Sin[t], 0}, {t, 0, 2Pi}, 0.2, |
||
Line 117: | Line 76: | ||
TubeFraming -> {Cos[2t]Cos[t], Cos[2t]Sin[t], Sin[3t]} |
TubeFraming -> {Cos[2t]Cos[t], Cos[2t]Sin[t], Sin[3t]} |
||
]]</nowiki> | |
]]</nowiki> | |
||
img= |
img= Drawing_with_TubePlot_Out_8.gif | |
||
out= <nowiki>-Graphics3D-</nowiki>}} |
out= <nowiki>-Graphics3D-</nowiki>}} |
||
<!--END--> |
<!--END--> |
||
Line 133: | Line 92: | ||
<!--Robot Land, no human edits to "END"--> |
<!--Robot Land, no human edits to "END"--> |
||
{{Graphics| |
{{Graphics| |
||
n = |
n = 9 | |
||
in = <nowiki>Show[TubePlot[ |
in = <nowiki>Show[TubePlot[ |
||
{Cos[2t], Sin[2t], 0} + |
{Cos[2t], Sin[2t], 0} + |
||
Line 142: | Line 101: | ||
Boxed -> False, ViewPoint -> {0,0,1} |
Boxed -> False, ViewPoint -> {0,0,1} |
||
]]</nowiki> | |
]]</nowiki> | |
||
img= |
img= Drawing_with_TubePlot_Out_9.gif | |
||
out= <nowiki>-Graphics3D-</nowiki>}} |
out= <nowiki>-Graphics3D-</nowiki>}} |
||
<!--END--> |
<!--END--> |
||
Line 151: | Line 110: | ||
<!--Robot Land, no human edits to "END"--> |
<!--Robot Land, no human edits to "END"--> |
||
{{Graphics| |
{{Graphics| |
||
n = |
n = 10 | |
||
in = <nowiki>Show[TubePlot[TorusKnot[3, 5]]]</nowiki> | |
in = <nowiki>Show[TubePlot[TorusKnot[3, 5]]]</nowiki> | |
||
img= |
img= Drawing_with_TubePlot_Out_10.gif | |
||
out= <nowiki>-Graphics3D-</nowiki>}} |
out= <nowiki>-Graphics3D-</nowiki>}} |
||
<!--END--> |
<!--END--> |
Latest revision as of 17:24, 21 February 2013
(For In[1] see Setup)
|
Thus here's a thin unknot:
In[3]:=
|
Show[TubePlot[{Cos[t], Sin[t], 0}, {t, 0, 2Pi}, 0.1]]
|
Out[3]=
|
-Graphics3D-
|
|
|
|
Here's the same unknot, made thicker and not as smooth:
In[7]:=
|
Show[TubePlot[
{Cos[t], Sin[t], 0}, {t, 0, 2Pi}, 0.3, TubeSubdivision -> {6, 3}
]]
|
Out[7]=
|
-Graphics3D-
|
Let's play with the framing now:
In[8]:=
|
Show[TubePlot[
{Cos[t], Sin[t], 0}, {t, 0, 2Pi}, 0.2,
TubeSubdivision -> {50, 2},
TubeFraming -> {Cos[2t]Cos[t], Cos[2t]Sin[t], Sin[3t]}
]]
|
Out[8]=
|
-Graphics3D-
|
Here's an example that uses a prelude and passes options on to Graphics3D
:
The last example serves as the basis for the definition of TubePlot[TorusKnot[m, n]]
. Here's a final example:
In[10]:=
|
Show[TubePlot[TorusKnot[3, 5]]]
|
Out[10]=
|
-Graphics3D-
|
Standalone TubePlot
There may be some independent interest in the routine TubePlot
, and hence it is available also as an independent package. Here it is: TubePlot.m (File:TubePlot.m).