root/gliderproc/trunk/MATLAB/opnml/FCAST_1.2/matlab_cen/load_g2sll_label.m
Revision 495 (checked in by cbc, 12 years ago) |
---|
Line | |
---|---|
1 | % |
2 | % load in nod, ele, and bat files |
3 | % |
4 | [in,x,y,z,bnd]=loadgrid('g2s'); |
5 | size(in); |
6 | ne=ans(1); |
7 | size(x); |
8 | nn=ans(1); |
9 | nodes=get_nodes('/usr4/people/naimie/meshes/g2s','g2sll'); |
10 | x=nodes(:,1); |
11 | y=nodes(:,2); |
12 | bndo=plotbnd(x,y,bnd); |
13 | set(bndo,'Color','red') |
14 | cval=[60 100 150 200]; |
15 | [cs,h]=lcontour3(in,x,y,z,cval); |
16 | hlabel=extclabel(cs); |
17 | delete(h) |
18 | hold on |
Note: See TracBrowser for help on using the browser.