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

root/gliderproc/trunk/MATLAB/opnml/FCAST_1.2/matlab_cen/load_yessubll.m

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

Initial import of Stark code.

Line 
1 %
2 % load in nod, ele, and bat files
3 %
4 [in,x,y,z,bnd]=loadgrid('yessub');
5 size(in);
6 ne=ans(1);
7 size(x);
8 nn=ans(1);
9 %
10 % convert coordinates to longitude and latitude
11 %
12 [yl,xl]=xy2ll(x,y,34.7847*pi/180.0,119.207*pi/180.0);
13 bndo=plotbnd(xl,yl,bnd);
14 set(bndo,'Color','red')
15 cval=[20 40 60 80 100];
16 lcontour2(in,xl,yl,z,cval);
17 hold on
Note: See TracBrowser for help on using the browser.