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

root/gliderproc/trunk/MATLAB/opnml/html/2.FDCONT/fdcontour.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 ./FDCONT]</A>
4 <A HREF = "../index.html">[Return to Master Index]</A>
5 <H1>fdcontour</H1>
6 <H2>(./FDCONT/fdcontour.m)</H2>
7 <HR><H3>Function Synopsis</H3>
8 <pre>cmap=gen_cmap(ncolorbase,nband,cmaptype)</pre>
9 <HR><H3>Help text</H3>
10 <pre>
11 FDCONTOUR contour FE scalar on FD grid
12    FDCONTOUR accepts a scalar field from a FEM domain and
13    an FD grid in bfd form, and contours the FE scalar on the
14    FD grid, using MATLAB's contourf routine for filled color
15    bands.
16
17    Input: bfd  - big finite difference array (see <A HREF = "../2.FDCONT/genbfd.html">GENBFD</A>)
18           qfe  - the scalar on FE nodes
19           qmin - lower limit of scalar to contour
20           qmax - upper limit of scalar to contour
21           dq   - contour bandwidth (not the number of contours!!)
22           cb   - colorbar flag (0=no colorbar,1=colorbar)
23
24    Output: [c,h,hcb] - same vaules that contourf returns
25                        plus the axes handle to the colorbar
26                        if drawn (cb=1)
27
28    Call as:
29         &gt;&gt; fdcontour(bfd,qfe)
30         &gt;&gt; fdcontour(bfd,qfe,qmin,qmax)
31         &gt;&gt; fdcontour(bfd,qfe,qmin,qmax,dq)
32         &gt;&gt; fdcontour(bfd,qfe,qmin,qmax,dq,cb)
33         &gt;&gt; [c,h,hcb]=fdcontour(bfd,qfe,qmin,qmax,dq,cb)
34        
35    Written by: Brian Blanton (Spring 99); based
36                on Chris E. Naimie's colorband routines.
37 </pre>
38 <HR><H3>Cross-Reference Information</H3>This function calls
39 <pre><UL>
40 <LI><A HREF = "../2.FDCONT/fe2fd.html">fe2fd</A>          ./FDCONT/fe2fd.m</LI>
41 </UL></pre>
42 <HR>
43 Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb  2 16:15:45 EST 1999
44 <BR>
45 Cross-Directory links are: OFF<BR>
46 </BODY>
Note: See TracBrowser for help on using the browser.