{VERSION 5 0 "APPLE_PPC_MAC" "5.0" } {USTYLETAB {CSTYLE "Maple Input" -1 0 "Courier" 0 1 255 0 0 1 0 1 0 0 1 0 0 0 0 1 }{CSTYLE "Hyperlink" -1 17 "" 0 1 0 128 128 1 2 0 1 0 0 0 0 0 0 1 }{CSTYLE "" -1 23 "Courier" 1 10 0 0 0 0 0 0 0 0 0 0 3 0 0 1 } {CSTYLE "Help Normal" -1 30 "Times" 1 12 0 0 0 0 0 0 0 0 0 0 0 0 0 1 } {PSTYLE "Normal" -1 0 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Heading 1" 0 3 1 {CSTYLE "" -1 -1 "" 1 18 0 0 0 0 0 1 0 0 0 0 0 0 0 1 }1 0 0 0 8 4 0 0 0 0 0 0 -1 0 }{PSTYLE "Heading 2" 3 4 1 {CSTYLE "" -1 -1 "" 1 14 0 0 0 0 0 0 0 0 0 0 0 0 0 1 }0 0 0 -1 8 2 0 0 0 0 0 0 -1 0 }{PSTYLE "Bulle t Item" 0 15 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 }0 0 0 -1 3 3 0 0 0 0 0 0 15 2 }} {SECT 0 {PARA 3 "" 0 "" {TEXT -1 15 "plots[tubeplot]" }{TEXT 30 34 " - three-dimensional tube plotting" }}{PARA 4 "" 0 "usage" {TEXT -1 16 " Calling Sequence" }}{PARA 0 "" 0 "" {TEXT -1 26 " tubeplot(C, opti ons);" }}{PARA 4 "" 0 "" {TEXT -1 10 "Parameters" }}{PARA 0 "" 0 "" {TEXT -1 5 " " }{TEXT 23 4 "C - " }{TEXT -1 21 "a set of spacecurv es " }}{SECT 0 {PARA 4 "" 0 "info" {TEXT -1 11 "Description" }}{PARA 15 "" 0 "" {TEXT -1 317 "The tubeplot function defines a tube about on e or more three-dimensional space curves. A given space curve is a lis t of three or more components. The initial three components define par ametrically the x, y, and z components. Additional components of a giv en space curve specify various local attributes of the curve. " }} {PARA 15 "" 0 "" {TEXT -1 745 "Remaining components of an individual s pace curve are interpreted as local options which are specified as equ ations of the form option = value. These include equations of the form numpoints = n or tubepoints = m with n and m integers. These allow th e user to designate the number of points evaluated on the space curve \+ and the number of points on the tube, respectively. The default values used by Maple are numpoints=50 and tubepoints=10. An equation of the \+ form radius = f, where f is some expression, defines the radius of the tube about the given space curve. If no radius is specified, then the default used is radius=1. An equation of the form t=a..b, where a and b evaluate to constants,specifies the range of the parameter of the c urve. " }}{PARA 15 "" 0 "" {TEXT -1 220 "Remaining arguments to tubepl ot include such specifications as numpoints = n, tubepoints = m, t= a. .b, and radius = f. These are to be used in the case where an individu al space curve does not have the option specified. " }}{PARA 15 "" 0 " " {TEXT -1 236 "Additional options are the same as those found in spac ecurve (and similar to options for plot3d). For example, the option ax es= BOXED specifies that the tubeplot is to include a boxed axis bound ing the plot. See also ?plot3d[options] . " }}{PARA 15 "" 0 "" {TEXT -1 231 "The result of a call to tubeplot is a PLOT3D structure which c an be rendered by the plotting device. The user may assign a PLOT3D va lue to a variable, save it in a file, then read it back in for redispl ay. See ?plot3d[structure] . " }}{PARA 15 "" 0 "" {TEXT -1 114 "tubepl ot may be defined by with(plots) or with(plots,tubeplot). It can also \+ be used by the name plots[tubeplot] . " }}}{SECT 0 {PARA 4 "" 0 "examp les" {TEXT -1 8 "Examples" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 428 "with(plots):\ntubeplot([cos(t),sin(t),0],t=0..2*Pi,radius=0.5);\n tubeplot([cos(t),sin(t),0,t=Pi..2*Pi,radius=0.25*(t-Pi)]);\ntubeplot([ 3*sin(t),t,3*cos(t)],t=-3*Pi..4*Pi,radius=1.2+sin(t),numpoints=80);\nt ubeplot([sin(t),t,exp(t)],t=-1..1,radius=cos(t),tubepoints=20);\ntubep lot( [ -10*cos(t) - 2*cos(5*t) + 15*sin(2*t),\n -15*cos(2*t ) + 10*sin(t) - 2*sin(5*t),\n 10*cos(3*t) ], t= 0..2*Pi,ra dius=3*cos(t*Pi/3));" }}}{PARA 0 "" 0 "" {TEXT -1 36 "Multiple tubeplo ts are also allowed " }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 286 "tub eplot(\{[cos(t),sin(t),0],[0,sin(t)-1,cos(t)]\},t=0..2*Pi,radius=1/4); \ntubeplot(\{[cos(t),sin(t),0],[0,sin(t)-1,cos(t)]\},t=0..2*Pi,radius= 1/10*t);\ntubeplot(\{[cos(t),sin(t),0,t=Pi..2*Pi,numpoints=15,radius=0 .25*(t-Pi)],\n [0,cos(t)-1,sin(t),t=0..2*Pi,numpoints=45,radi us=0.25]\});" }}}{PARA 0 "" 0 "" {TEXT -1 51 "Can specify color option as a 2 argument procedure " }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 112 "F := (x,y) ->sin(x):\ntubeplot(\{[cos(t),sin(t),0],[0,sin(t)-1,co s(t)]\},t=0..2*Pi,radius=1/4,color=F,style=patch);" }}}}{SECT 0 {PARA 4 "" 0 "seealso" {TEXT -1 9 "See Also " }}{PARA 0 "" 0 "" {HYPERLNK 17 "plot3d[option]" 2 "plot3d[option]" "" }{TEXT -1 2 ", " }{HYPERLNK 17 "plot3d[structure]" 2 "plot3d[structure]" "" }{TEXT -1 2 ", " } {HYPERLNK 17 "plots[spacecurve]" 2 "plots[spacecurve]" "" }{TEXT -1 2 " " }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}{EXCHG {PARA 0 " > " 0 "" {MPLTEXT 1 0 0 "" }}}{EXCHG {PARA 3 "" 0 "" {TEXT -1 17 "plot s[spacecurve]" }{TEXT 30 30 " - plotting of 3d space curves" }}{PARA 4 "" 0 "usage" {TEXT -1 16 "Calling Sequence" }}{PARA 0 "" 0 "" {TEXT -1 27 " spacecurve(L,options);" }}{PARA 4 "" 0 "" {TEXT -1 10 "Par ameters" }}{PARA 0 "" 0 "" {TEXT -1 5 " " }{TEXT 23 4 "L - " } {TEXT -1 21 "a set of space curves" }}}{SECT 0 {PARA 4 "" 0 "info" {TEXT -1 11 "Description" }}{PARA 15 "" 0 "" {TEXT -1 577 "The spacecu rve function defines one or more curves in 3 space. The first argument can be a list of points or a spacecurve. A spacecurve is a list of si ze three or more. The first three components are considered to be the \+ parametric representations of the x, y, and z coordinates. Additional \+ arguments include specifying a range for the particular curve via t=a. .b, or the number of points that are to be used in drawing the curve v ia numpoints=n (the default is 50). The first argument can also be a s et of such lists, in which case several three-dimensional curves are d rawn. " }}{PARA 15 "" 0 "" {TEXT -1 190 "Remaining arguments are inter preted as options which are specified as equations of the form option \+ = value. These can be used to specify global default values such as t= a..b or numpoints=n. " }}{PARA 15 "" 0 "" {TEXT -1 239 "Remaining opti ons are the same as those found in plot3d with the exception of specif ying a grid size. For example, the option axes = BOXED specifies that \+ the space curves include a boxed axis bounding the plot. See also ?plo t3d[options] . " }}{PARA 15 "" 0 "" {TEXT -1 233 "The result of a call to spacecurve is a PLOT3D structure which can be rendered by the plot ting device. The user may assign a PLOT3D value to a variable, save it in a file, then read it back in for redisplay. See ?plot3d[structure] . " }}{PARA 15 "" 0 "" {TEXT -1 120 "spacecurve may be defined by wit h(plots) or with(plots,spacecurve). It can also be used by the name pl ots[spacecurve] . " }}}{SECT 0 {PARA 4 "" 0 "examples" {TEXT -1 8 "Exa mples" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 502 "with(plots):\nspac ecurve([cos(t),sin(t),t],t=0..4*Pi);\nspacecurve(\{[sin(t),0,cos(t),t= 0..2*Pi],[cos(t)+1,sin(t),0,numpoints=10]\},\n t=-Pi..P i,axes=FRAME);\nspacecurve(\{[t*sin(t),t,t*cos(t)],[4*cos(t),4*sin(t), 0]\},t=-Pi..2*Pi);\nknot:= [ -10*cos(t) - 2*cos(5*t) + 15*sin(2*t),\n \+ -15*cos(2*t) + 10*sin(t) - 2*sin(5*t), 10*cos(3*t), t= 0..2*Pi ]:\nspacecurve(knot);\nhelix_points := [seq([10*cos(r/30),10*sin(r/30) ,r/3],r=0..240)]:\nspacecurve(helix_points);\nspacecurve(\{helix_point s,knot\});" }}}}{SECT 0 {PARA 4 "" 0 "seealso" {TEXT -1 9 "See Also " }}{PARA 0 "" 0 "" {HYPERLNK 17 "read" 2 "read" "" }{TEXT -1 2 ", " } {HYPERLNK 17 "save" 2 "save" "" }{TEXT -1 2 ", " }{HYPERLNK 17 "plots[ tubeplot]" 2 "plots[tubeplot]" "" }{TEXT -1 2 ", " }{HYPERLNK 17 "plot 3d[option]" 2 "plot3d[option]" "" }{TEXT -1 2 ", " }{HYPERLNK 17 "plot 3d[structure]" 2 "plot3d[structure]" "" }{TEXT -1 2 " " }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}}{MARK "14 0 0" 0 }{VIEWOPTS 1 1 0 1 1 1803 1 1 1 1 }{PAGENUMBERS 0 1 2 33 1 1 }