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('adrdep2kmg'); |
---|
5 |
size(in); |
---|
6 |
ne=ans(1); |
---|
7 |
size(x); |
---|
8 |
nn=ans(1); |
---|
9 |
nodes=get_nodes('adrdep2kmgll'); |
---|
10 |
x=nodes(:,1); |
---|
11 |
y=nodes(:,2); |
---|
12 |
% |
---|
13 |
% plot boundary and contours |
---|
14 |
% |
---|
15 |
% figure |
---|
16 |
% whitebg('w') |
---|
17 |
hold on |
---|
18 |
bndo=plotbnd(x,y,bnd); |
---|
19 |
set(bndo,'Color','k') |
---|
20 |
% cval=[50 100 200]; |
---|
21 |
% hc=lcontour2(ele,x,y,z,cval); |
---|
22 |
% set(hc,'Color','k') |
---|
23 |
% |
---|
24 |
% |
---|
25 |
% |
---|
26 |
set(gca,'Box','on'); |
---|
27 |
set(gca,'XTick',[]); |
---|
28 |
set(gca,'YTick',[]); |
---|