addcoords - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : 3-D : addcoords

addcoords

add a new coordinate system, and/or default information

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

addcoords(coord_name, v, in_cart, con, dlist)

Parameters

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

Description

• 

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.

Examples

addcoordsme1,e1,e2,e12e222,2e1e2

plot1,coords=me1

addcoordsnewcylinder,r,θ,z,rcosθ,rsinθ,z,1.5,π3,0.5,0..2,0..2π,1..1,4..4,4..4,1..1:

frsinθz2:vr,θ,z

v:=r,θ,z

(1)

plot3dzcosθ,z=0..10,θ=0..2π,style=PATCH,shading=ZGREYSCALE,coords=newcylinder

plots[coordplot3d]newcylinder

See Also

coords

plot

plot3d

plot3d[coords]

plot[coords]

plots[changecoords]

plots[coordplot3d]

plots[coordplot]

VectorCalculus[AddCoordinates]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam