NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

root/gliderproc/trunk/MATLAB/opnml/html/7.mat4/drawelems4.html

Revision 495 (checked in by cbc, 12 years ago)

Initial import of Stark code.

Line 
1 <TITLE>/</TITLE>
2 <BODY>
3 <A HREF = "index.html">[Index for ./mat4]</A>
4 <A HREF = "../index.html">[Return to Master Index]</A>
5 <H1>drawelems4</H1>
6 <H2>(./mat4/drawelems4.m)</H2>
7 <HR><H3>Function Synopsis</H3>
8 <pre>hel=drawelems4(elems,x,y,z) </pre>
9 <HR><H3>Help text</H3>
10 <pre>
11 DRAWELEMS4 draw FEM element configuration
12    DRAWELEMS4 a routine to draw element boundries given an element,
13    node, and (optionally) bathymetry lists.  If no z-
14    coordinates are given, the mesh is drawn in 2-D.
15    Otherwise, the mesh is drawn in 3-D, with the view
16    perspective set to azimuth=-27 deg and
17    elevation=30 deg.  See the MATLAB VIEW command for
18    more on view points.
19
20      Input :
21              elems - a 3- or 4-column matrix giving the nodes comprising
22                      each element.  If there are 3 columns, each line
23                      should be &quot;n1 n2 n3&quot;, a triangular element
24                      description.  If there are 4 columns, each line
25                      should be &quot;n1 n2 n3 n4&quot;, a quadrilateral
26                      element description.
27              x     - an x-coord list of nodes;
28              y     - a  y-coord list of nodes;
29              z     - a  z-coord list of nodes (optional);
30            
31              x,y,z must be 1-D vectors.
32            
33    Output :  DRAWELEMS returns the handle of the element object.
34
35              NOTES: 1) Element line-segments are drawn in solid white.
36                        This will be an optional argument in the future.
37                     2) Existing plots are added to.
38                     3) Axis limits are NOT set.  'axis('equal')' may
39                        need to be issued by the user, if it has not already.
40
41    Call as: &gt;&gt;  hel=drawelems4(elems,x,y,z);
42
43  Written by: Brian O. Blanton
44                  
45 </pre>
46 <HR>
47 Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb  2 16:15:45 EST 1999
48 <BR>
49 Cross-Directory links are: OFF<BR>
50 </BODY>
Note: See TracBrowser for help on using the browser.