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>colormesh3d</H1> |
---|
6 |
<H2>(./FEM/colormesh3d.m)</H2> |
---|
7 |
<HR><H3>Function Synopsis</H3> |
---|
8 |
<pre>retval=colormesh3d(fem_grid_struct,Q,sarg)</pre> |
---|
9 |
<HR><H3>Help text</H3> |
---|
10 |
<pre> |
---|
11 |
|
---|
12 |
COLORMESH3D draw FEM mesh in 3-d given, colored by a scalar field. |
---|
13 |
|
---|
14 |
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>) |
---|
15 |
Q - scalar to color with (optional) |
---|
16 |
"nofill" - flag (optional) |
---|
17 |
|
---|
18 |
With no scalar specified to contour, <A HREF = "../3.FEM/colormesh2d.html">COLORMESH2D</A> |
---|
19 |
defaults to the bathymetry <A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A>.z |
---|
20 |
|
---|
21 |
Output : hp - vector of handles, one for each element patch drawn. |
---|
22 |
|
---|
23 |
COLORMESH3D colors the mesh using the scalar Q. If Q |
---|
24 |
is omitted from the argument list, COLORMESH3D uses |
---|
25 |
the bathymetry z to color the surface. |
---|
26 |
|
---|
27 |
The default viewpoint is Azimuth = -27. degrees, |
---|
28 |
Elevation = 30 degrees. See the MATLAB VIEW command for |
---|
29 |
more information. |
---|
30 |
|
---|
31 |
NOTE : This is one of the few (2 or 3) OPNML MATLAB functions |
---|
32 |
that deletes existing patch objects in the current axes |
---|
33 |
before rendering the surface. This is to avoid having |
---|
34 |
an unmanageable number of patch objects on the screen. |
---|
35 |
|
---|
36 |
Call as : >> hp=colormesh3d(<A HREF = "../3.FEM/fem_grid_struct.html">fem_grid_struct</A>,Q,'nofill') |
---|
37 |
|
---|
38 |
Author : Brian O. Blanton |
---|
39 |
|
---|
40 |
</pre> |
---|
41 |
<HR><H3>Cross-Reference Information</H3>This function calls |
---|
42 |
<pre><UL> |
---|
43 |
<LI><A HREF = "../3.FEM/is_valid_struct.html">is_valid_struct</A>./FEM/is_valid_struct.m</LI> |
---|
44 |
</UL></pre> |
---|
45 |
<HR> |
---|
46 |
Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb 2 16:15:45 EST 1999 |
---|
47 |
<BR> |
---|
48 |
Cross-Directory links are: OFF<BR> |
---|
49 |
</BODY> |
---|