{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 116 "curvarrows - plot a 2D or 3D curve (parametric or cartesian) with arrows from a vector field at points on the curve." }}{PARA 0 "" 0 " " {TEXT 26 17 "Calling sequence:" }{TEXT -1 1 " " }}{PARA 0 "" 0 "" {MPLTEXT 0 21 28 "curvarrows(fld,curv,t=a..b);" }{TEXT -1 1 "\n" } {TEXT 26 11 "Parameters:" }{TEXT -1 1 " " }}{PARA 0 "" 0 "" {TEXT -1 3 " " }{MPLTEXT 0 21 3 "fld" }{TEXT -1 30 " - the vector field, eith er a " }{XPPEDIT 18 0 "d" "I\"dG6\"" }{TEXT -1 54 "-component list or \+ vector expression in the parameter " }{MPLTEXT 0 21 1 "t" }{TEXT -1 69 " (specifying the vectors in terms of the parameter) or a function \+ of " }{XPPEDIT 18 0 "d" "I\"dG6\"" }{TEXT -1 28 " variables whose valu es are " }{XPPEDIT 18 0 "d" "I\"dG6\"" }{TEXT -1 99 "-component lists \+ or vectors (specifying the vector field in terms of Cartesian coordina tes), where " }{XPPEDIT 18 0 "d" "I\"dG6\"" }{TEXT -1 11 " is 2 or 3. " }}{PARA 0 "" 0 "" {TEXT -1 3 " " }{MPLTEXT 0 21 5 "curv " }{TEXT -1 22 "- the curve, either a " }{XPPEDIT 18 0 "d" "I\"dG6\"" }{TEXT -1 54 "-component list or vector expression in the parameter " } {MPLTEXT 0 21 1 "t" }{TEXT -1 74 " (for a parametric representation of the curve) or a scalar expression in " }{MPLTEXT 0 21 1 "t" }{TEXT -1 19 " (representing the " }{XPPEDIT 18 0 "y" "I\"yG6\"" }{TEXT -1 18 " coordinate while " }{MPLTEXT 0 21 1 "t" }{TEXT -1 8 " is the " } {XPPEDIT 18 0 "x" "I\"xG6\"" }{TEXT -1 15 " coordinate). " }}{PARA 0 "" 0 "" {TEXT -1 3 " " }{MPLTEXT 0 21 1 "t" }{TEXT -1 26 " - name fo r the parameter." }}{PARA 0 "" 0 "" {TEXT -1 3 " " }{MPLTEXT 0 21 1 "a" }{TEXT -1 2 ", " }{MPLTEXT 0 21 1 "b" }{TEXT -1 57 " - real consta nts, endpoints for the parameter interval. " }}{PARA 0 "" 0 "" {TEXT -1 23 " Optional arguments: " }}{PARA 15 "" 0 "" {TEXT -1 2 " " } {MPLTEXT 0 21 10 "arrownum= " }{XPPEDIT 18 0 "n" "I\"nG6\"" }{TEXT -1 6 " for " }{XPPEDIT 18 0 "n" "I\"nG6\"" }{TEXT -1 78 " arrows along t he curve, equally spaced in terms of the parameter (default is " } {MPLTEXT 0 21 11 "arrownum=10" }{TEXT -1 1 ")" }}{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 53 " 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 40 " \+ other 2D or 3D curve plotting options" }}}{SECT 0 {PARA 3 "" 0 "" {TEXT 26 12 "Description:" }}{PARA 15 "" 0 "" {TEXT -1 89 "This functi on creates a 2D or 3D plot data object which consists of a curve speci fied by " }{MPLTEXT 0 21 4 "curv" }{TEXT -1 5 " for " }{MPLTEXT 0 21 10 "t = a .. b" }{TEXT -1 32 " (including all options of the " } {MPLTEXT 0 21 10 "curvarrows" }{TEXT -1 15 " command except" } {MPLTEXT 1 0 1 " " }{MPLTEXT 0 21 8 "arrownum" }{TEXT -1 2 ", " } {MPLTEXT 0 21 11 "scalefactor" }{TEXT -1 2 ", " }{MPLTEXT 0 21 14 "arr owthickness" }{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 30 " drawn at points on the curve." }}{PARA 15 "" 0 "" {TEXT -1 26 " The curve is drawn using " }{MPLTEXT 0 21 4 "plo t" }{TEXT -1 66 " (in either the parametric or Cartesian form) for the 2D case, or " }{MPLTEXT 0 21 10 "spacecurve" }{TEXT -1 17 " for the 3 D case." }}{PARA 15 "" 0 "" {TEXT -1 18 "Unless 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 Database library, and mu st be loaded before use by the command " }{MPLTEXT 0 21 15 "with(surfa rro);" }{TEXT -1 4 " or " }{MPLTEXT 0 21 26 "with(surfarro,curvarrows) ;" }}}{SECT 0 {PARA 3 "" 0 "" {TEXT 26 9 "Examples:" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 26 "with(surfarro,curvarrows):" }}}{PARA 0 "" 0 "" {TEXT -1 66 "Curve is a circle represented parametrically, vector s are tangent." }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 159 "curv1:= \+ [cos(t),sin(t)];\nF1:= diff(curv1,t);\ncurvarrows(F1, curv1, t = 0 .. \+ 2*Pi, arrowcolour=blue,\n scalefactor=1/2, arrowthickness=1, scaling= constrained);" }}}{PARA 0 "" 0 "" {TEXT -1 79 "Curve is a semicircle r epresented in Cartesian coordinates, vectors are normal." }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 112 "curv2:= sqrt(1-x^2);\nF2:= [x,curv 2];\ncurvarrows(F2,curv2, x = -1 .. 1, \n scalefactor=1/3, scaling=co nstrained);" }}}{PARA 0 "" 0 "" {TEXT -1 52 "Parametric 3D curve, vect or 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 120 " coordinates. Note that 6 arrows appe ar because the arrows at the beginning and end of the parameter interv al coincide." }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 169 "curv3:= [co s(t), sin(t), 1];\nF3:= (x,y,z) -> [x, y, z];\ncurvarrows(F3,curv3, t \+ = 0 .. 2*Pi, \n arrowcolour=blue, scalefactor = 1/4, arrownum = 7, \+ scaling=constrained);" }}}}{SECT 0 {PARA 0 "" 0 "" {TEXT 26 10 "See al so: " }{HYPERLNK 17 "arrow2d," 2 "arrow2d" "" }{TEXT 26 1 " " }{TEXT -1 1 " " }{HYPERLNK 17 "arrow3d" 2 "arrow3d" "" }{TEXT -1 3 ", " } {HYPERLNK 17 "surfarrows," 2 "surfarrows" "" }{TEXT -1 1 " " } {HYPERLNK 17 "plot" 2 "plot" "" }{TEXT -1 2 ", " }{HYPERLNK 17 "plot[p arametric]" 2 "plot,parametric" "" }{TEXT -1 2 ", " }{HYPERLNK 17 "spa cecurve" 2 "spacecurve" "" }}}{SECT 0 {PARA 0 "" 0 "" {TEXT 26 22 "Map le Advisor Database" }{TEXT -1 16 " R. Israel 1998" }}}{PARA 0 "" 0 " " {TEXT -1 0 "" }}}{MARK "2 4 0" 55 }{VIEWOPTS 1 1 0 1 1 1803 }