1 |
<TITLE>/</TITLE> |
---|
2 |
<BODY> |
---|
3 |
<A HREF = "index.html">[Index for ./FEM]</A> |
---|
4 |
<A HREF = "../index.html">[Return to Master Index]</A> |
---|
5 |
<H1>colormesh2d</H1> |
---|
6 |
<H2>(./FEM/colormesh2d.m)</H2> |
---|
7 |
<HR><H3>Function Synopsis</H3> |
---|
8 |
<pre>rv1=colormesh2d(fem_grid_struct,Q,nband)</pre> |
---|
9 |
<HR><H3>Help text</H3> |
---|
10 |
<pre> |
---|
11 |
COLORMESH2D draw a FEM mesh in 2-d colored by a scalar quantity. |
---|
12 |
|
---|
13 |
INPUT : <A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A> (from <A HREF = "../3.FEM/loadgrid.html">LOADGRID</A>, see <A HREF = "../3.FEM/fem_grid_struct.html">FEM_GRID_STRUCT</A>) |
---|
14 |
Q - scalar to color with (optional) |
---|
15 |
nband - number of contour bands to compute (optional) |
---|
16 |
|
---|
17 |
With no scalar specified to contour, COLORMESH2D |
---|
18 |
defaults to the bathymetry <A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A>.z |
---|
19 |
|
---|
20 |
OUTPUT : hp - vector of handles, one for each element patch drawn. |
---|
21 |
|
---|
22 |
COLORMESH2D colors the mesh using the scalar Q. If Q |
---|
23 |
is omitted from the argument list, COLORMESH2D draws |
---|
24 |
the element connectivity in black and white. |
---|
25 |
|
---|
26 |
NOTE: This is one of the few (2 or 3) OPNML MATLAB functions that |
---|
27 |
deletes existing patch objects in the current axes before |
---|
28 |
rendering the surface. This is to avoid having an unmanageable |
---|
29 |
number of patch objects on the screen. |
---|
30 |
|
---|
31 |
CALL : >> hp=colormesh2d(<A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A>,Q,nband) |
---|
32 |
|
---|
33 |
Written by : Brian O. Blanton |
---|
34 |
|
---|
35 |
</pre> |
---|
36 |
<HR><H3>Cross-Reference Information</H3>This function calls |
---|
37 |
<pre><UL> |
---|
38 |
<LI><A HREF = "../3.FEM/is_valid_struct.html">is_valid_struct</A>./FEM/is_valid_struct.m</LI> |
---|
39 |
</UL></pre> |
---|
40 |
<HR> |
---|
41 |
Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb 2 16:15:45 EST 1999 |
---|
42 |
<BR> |
---|
43 |
Cross-Directory links are: OFF<BR> |
---|
44 |
</BODY> |
---|