{VERSION 2 3 "IBM INTEL NT" "2.3" } {USTYLETAB {CSTYLE "Maple Input" -1 0 "Courier" 0 1 255 0 0 1 0 1 0 0 1 0 0 0 0 }{CSTYLE "2D Math" -1 2 "Times" 0 1 0 0 0 0 0 0 2 0 0 0 0 0 0 }{CSTYLE "Hyperlink" -1 17 "" 0 1 0 128 128 1 0 0 1 0 0 0 0 0 0 } {CSTYLE "2D Comment" 2 18 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 }{CSTYLE " " 0 21 "" 0 1 0 0 0 1 0 0 0 0 2 0 0 0 0 }{CSTYLE "Help Heading" -1 26 "" 1 14 0 0 0 0 0 1 0 0 0 0 0 0 0 }{CSTYLE "Help Normal" -1 30 "Times " 1 12 0 0 0 0 0 0 0 0 0 0 0 0 0 }{PSTYLE "Normal" -1 0 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 }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 0 0 0 6 6 0 0 0 0 0 0 -1 0 }{PSTYLE "Bullet Item" 0 15 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 }0 0 0 -1 3 3 0 0 0 0 0 0 15 2 }} {SECT 0 {SECT 0 {PARA 0 "" 0 "" {TEXT 26 10 "Function: " }{TEXT 30 114 "surfarrows - plot a 3D surface (parametric or cartesian) with arr ows from a vector field at points on the surface." }}{PARA 0 "" 0 "" {TEXT 26 17 "Calling sequence:" }{TEXT -1 1 " " }}{PARA 0 "" 0 "" {MPLTEXT 0 21 39 "surfarrows(fld,surf,s=a1..b1,t=a2..b2);" }{TEXT -1 1 "\n" }{TEXT 26 11 "Parameters:" }{TEXT -1 1 " " }}{PARA 0 "" 0 "" {TEXT -1 3 " " }{MPLTEXT 0 21 3 "fld" }{TEXT -1 86 " - the vector fi eld, either a 3-component list or vector expression in the parameters \+ " }{MPLTEXT 0 21 1 "s" }{TEXT -1 5 " and " }{MPLTEXT 0 21 1 "t" } {TEXT -1 199 " (specifying the vectors in terms of those parameters) o r a function of three variables whose values are 3-component lists or \+ vectors (specifying the vector field in terms of the spatial coordinat es " }{XPPEDIT 18 0 "x" "I\"xG6\"" }{TEXT -1 2 ", " }{XPPEDIT 18 0 "y " "I\"yG6\"" }{TEXT -1 5 " and " }{XPPEDIT 18 0 "z" "I\"zG6\"" }{TEXT -1 2 ")." }}{PARA 0 "" 0 "" {TEXT -1 3 " " }{MPLTEXT 0 21 5 "surf " }{TEXT -1 80 "- the surface, either a 3-component list or vector expre ssion in the parameters " }{MPLTEXT 0 21 1 "s" }{TEXT -1 5 " and " } {MPLTEXT 0 21 1 "t" }{TEXT -1 76 " (for a parametric representation of the surface) or a scalar expression in " }{MPLTEXT 0 21 1 "s" }{TEXT -1 5 " and " }{MPLTEXT 0 21 1 "t" }{TEXT -1 19 " (representing the " } {XPPEDIT 18 0 "z" "I\"zG6\"" }{TEXT -1 18 " coordinate while " } {MPLTEXT 0 21 1 "s" }{TEXT -1 5 " and " }{MPLTEXT 0 21 1 "t" }{TEXT -1 9 " are the " }{XPPEDIT 18 0 "x" "I\"xG6\"" }{TEXT -1 5 " and " } {XPPEDIT 18 0 "y" "I\"yG6\"" }{TEXT -1 28 " coordinates respectively). " }}{PARA 0 "" 0 "" {TEXT -1 3 " " }{MPLTEXT 0 21 1 "s" }{TEXT -1 2 ", " }{MPLTEXT 0 21 1 "t" }{TEXT -1 28 " - names for the parameters. " }}{PARA 0 "" 0 "" {TEXT -1 3 " " }{MPLTEXT 0 21 2 "a1" }{TEXT -1 2 ", " }{MPLTEXT 0 21 2 "b1" }{TEXT -1 2 ", " }{MPLTEXT 0 21 2 "a2" } {TEXT -1 2 ", " }{MPLTEXT 0 21 2 "b2" }{TEXT -1 43 " - endpoints for t he parameter intervals. " }{MPLTEXT 0 21 2 "a1" }{TEXT -1 5 " and " } {MPLTEXT 0 21 2 "b1" }{TEXT -1 26 " must be constants, while " } {MPLTEXT 0 21 2 "a2" }{TEXT -1 5 " and " }{MPLTEXT 0 21 2 "b2" }{TEXT -1 35 " may depend on the first parameter " }{MPLTEXT 0 21 1 "s" } {TEXT -1 3 ". " }}{PARA 0 "" 0 "" {TEXT -1 23 " Optional arguments: " }}{PARA 15 "" 0 "" {TEXT -1 2 " " }{MPLTEXT 0 21 12 "arrowgrid= [ " }{XPPEDIT 18 0 "n[1]" "&%\"nG6#\"\"\"" }{TEXT -1 2 ", " }{XPPEDIT 18 0 "n[2]" "&%\"nG6#\"\"#" }{MPLTEXT 0 21 1 "]" }{TEXT -1 19 " for a rrows in an " }{XPPEDIT 18 0 "n[1]" "&%\"nG6#\"\"\"" }{TEXT -1 4 " by \+ " }{XPPEDIT 18 0 "n[2]" "&%\"nG6#\"\"#" }{TEXT -1 76 " grid, equally s paced in terms of the parameters of the surface (default is " } {MPLTEXT 0 21 15 "arrowgrid=[8,8]" }{TEXT -1 2 ")." }}{PARA 15 "" 0 " " {MPLTEXT 0 21 13 " scalefactor=" }{TEXT -1 1 " " }{XPPEDIT 18 0 "s" "I\"sG6\"" }{TEXT -1 44 " to multiply arrow lengths by real constant \+ " }{XPPEDIT 18 0 "s" "I\"sG6\"" }{TEXT -1 1 "." }}{PARA 15 "" 0 "" {MPLTEXT 0 21 16 " arrowthickness=" }{TEXT -1 1 " " }{XPPEDIT 18 0 "n " "I\"nG6\"" }{TEXT -1 35 " for thickness of the arrow shaft (" } {XPPEDIT 18 0 "n" "I\"nG6\"" }{TEXT -1 52 " should be 0, 1, 2 or 3, de fault is the same as the " }{MPLTEXT 0 21 9 "thickness" }{TEXT -1 35 " option if specified, or 3 if not)." }}{PARA 15 "" 0 "" {TEXT -1 3 " \+ " }{MPLTEXT 0 21 12 "arrowcolour=" }{TEXT -1 1 " " }{XPPEDIT 18 0 "c " "I\"cG6\"" }{TEXT -1 53 " to specify arrow colour (default is the sa me as the " }{MPLTEXT 0 21 6 "colour" }{TEXT -1 62 " option if specifi ed, or red if not). The alternate spelling " }{MPLTEXT 0 21 10 "arrow color" }{TEXT -1 12 " is allowed." }}{PARA 15 "" 0 "" {TEXT -1 37 " \+ other 3D surface plotting options." }}}{SECT 0 {PARA 3 "" 0 "" {TEXT 26 12 "Description:" }}{PARA 15 "" 0 "" {TEXT -1 102 "This function cr eates a 3D plot data object which consists of a surface, plotted as wi th the command \n" }{MPLTEXT 0 21 32 "plot3d(surf, s=a1..b1, t=a2..b2) " }{TEXT -1 31 " (including all options of the " }{MPLTEXT 0 21 10 "su rfarrows" }{TEXT -1 15 " command except" }{MPLTEXT 1 0 1 " " } {MPLTEXT 0 21 9 "arrowgrid" }{TEXT -1 2 ", " }{MPLTEXT 0 21 11 "scalef actor" }{TEXT -1 2 ", " }{MPLTEXT 0 21 14 "arrowthickness" }{TEXT -1 5 " and " }{MPLTEXT 0 21 11 "arrowcolour" }{TEXT -1 45 "), plus arrows representing the vector field " }{MPLTEXT 0 21 3 "fld" }{TEXT -1 34 " drawn at points on the surface. " }}{PARA 15 "" 0 "" {TEXT -1 18 "Un less the option " }{MPLTEXT 0 21 19 "scaling=constrained" }{TEXT -1 129 " (\"Projection, Constrained\" on the plot menu or \"1-1\" on the \+ context bar) is used, the shapes of the arrowheads may be distorted." }}{PARA 15 "" 0 "" {TEXT -1 37 "This function is part of the package \+ " }{MPLTEXT 0 21 8 "surfarro" }{TEXT -1 85 " in the Maple Advisor Data base library, and must be loaded before use by the command " } {MPLTEXT 0 21 15 "with(surfarro);" }{TEXT -1 4 " or " }{MPLTEXT 0 21 26 "with(surfarro,surfarrows);" }{TEXT -1 1 "." }}}{SECT 0 {PARA 3 "" 0 "" {TEXT 26 9 "Examples:" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 26 "with(surfarro,surfarrows):" }}}{PARA 0 "" 0 "" {TEXT -1 81 "Surfac e is a sphere represented parametrically, vectors are tangent to merid ians." }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 192 "surf1:= [sin(t)*c os(s),sin(t)*sin(s),cos(t)];\nF1:= diff(surf1,t);\nsurfarrows(F1, surf 1, s = 0 .. 2*Pi, t = 0 .. Pi,\n scalefactor=0.4, style=patch, scalin g=constrained, orientation=[0,70]);" }}}{PARA 0 "" 0 "" {TEXT -1 108 "Surface is a hemisphere represented in Cartesian coordinates, vec tors are normal to surface. Note that the " }{XPPEDIT 18 0 "y" "I\"yG 6\"" }{TEXT -1 21 " interval depends on " }{XPPEDIT 18 0 "x" "I\"xG6\" " }{TEXT -1 1 "." }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 230 "surf2:= sqrt(1-x^2-y^2);\nF2:= [x,y,surf2];\nsurfarrows(F2,surf2, x = -1 .. 1 , y = -0.999*sqrt(1-x^2) .. 0.999*sqrt(1-x^2), orientation = [90, 45], \n scalefactor=1/3, style=patchcontour, scaling=constrained, arro wthickness = 2);" }}}{PARA 0 "" 0 "" {TEXT -1 53 "Parametric hemispher e, vector field is a function of " }{XPPEDIT 18 0 "x" "I\"xG6\"" } {TEXT -1 2 ", " }{XPPEDIT 18 0 "y" "I\"yG6\"" }{TEXT -1 5 " and " } {XPPEDIT 18 0 "z" "I\"zG6\"" }{TEXT -1 43 " coordinates (a dipole fiel d in this case):" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 241 "F3:= (x ,y,z) -> [3*x*z, 3*y*z, 2*z^2-x^2-y^2];\nsurfarrows(F3,surf1, s = 0 .. 2*Pi, t = 0 .. Pi/2,\n arrowcolour=blue, scalefactor = 1/4, arrowgri d=[10,5], arrowthickness=1, scaling=constrained, style=patchno grid, orientation=[0,60]);" }}}}{SECT 0 {PARA 0 "" 0 "" {TEXT 26 9 "Se e also:" }{TEXT -1 1 " " }{HYPERLNK 17 "arrow3d" 2 "arrow3d" "" } {TEXT -1 3 ", " }{HYPERLNK 17 "curvarrows" 2 "curvarrows" "" }{TEXT -1 2 ", " }{HYPERLNK 17 "plot3d" 2 "plot3d" "" }}}{SECT 0 {PARA 0 "" 0 "" {TEXT 26 22 "Maple Advisor Database" }{TEXT -1 18 " R. Israel, 1 998\n" }}}{PARA 0 "" 0 "" {TEXT -1 0 "" }}}{MARK "2 4 0" 50 } {VIEWOPTS 1 1 0 1 1 1803 }