addcoords
add a new coordinate system, and/or default information
Calling Sequence
Parameters
Description
Examples
addcoords(coord_name, v, in_cart, con, dlist)
coord_name
-
name of the coordinate system
v
list of variables (in either 2 or 3 dimensions)
in_cart
list of expressions defining the cartesian coordinates x, y, z in terms of the new coordinates
con
list of names of constants in in_cart
dlist
list of default values for coordplot or coordplot3d
The function addcoords adds a new coordinate system which can be used to plot a function or to provide default information used by coordplot or coordplot3d for generating plots of the coordinate system.
Note: To add a new coordinate system for use with the differential operators (Divergence, Gradient, Curl, and Laplacian) of the VectorCalculus package, use the VectorCalculus[AddCoordinates] command.
In the two-dimensional case, v and in_cart are lists of two elements. For the three-dimensional case, they are lists of three elements.
When con is required, it must be specified AFTER v.
When adding default information, the coordinate system must be previously defined (either internally to Maple or by addcoords), or defined in the same call to addcoords.
For two-dimensional systems, default information for coordplot is defined in dlist by
range1,range2,grid1,grid2,view1,view2
range1, range2 specify the variable ranges to be used in the transformation.
grid1, grid2 are the two integer grid values.
view1, view2 are real ranges specifying the dimensions of the view box to be used by coordplot.
For three-dimensional systems, default information for coordplot3d is defined in dlist by
values1,values2,values3,range1,range2,range3,view1,view2,view3
values1, values2, values3 are lists of constant values, each list corresponding to a single coordinate. At least one constant value must appear in each list.
range1, range2, range3 are range values for each of the coordinates.
view1, view2, view3 are real ranges specifying the dimensions of the view box to be used by coordplot3d.
See plots[coordplot] or plots[coordplot3d] for details about each of the above parameters.
See coords or plot3d[coords] for details of the coordinate systems currently implemented in Maple.
addcoords⁡me1,e1,e2,e12−e222,2⁢e1⁢e2
plot⁡1,coords=me1
addcoords⁡newcylinder,r,θ,z,r⁢cos⁡θ,r⁢sin⁡θ,z,1.5,π3,0.5,0..2,0..2⁢π,−1..1,−4..4,−4..4,−1..1:
f≔r⁢sin⁡θ⁢z2:v≔r,θ,z
v≔r,θ,z
plot3d⁡z⁢cos⁡θ,z=0..10,θ=0..2⁢π,style=PATCH,shading=ZGREYSCALE,coords=newcylinder
plotscoordplot3d⁡newcylinder
See Also
coords
plot
plot3d
plot3d[coords]
plot[coords]
plots[changecoords]
plots[coordplot3d]
plots[coordplot]
VectorCalculus[AddCoordinates]
Download Help Document