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('bank150'); |
---|
5 |
size(in); |
---|
6 |
ne=ans(1); |
---|
7 |
size(x); |
---|
8 |
nn=ans(1); |
---|
9 |
nodes=get_nodes('/usr4/people/naimie/meshes/bank150','bank150ll'); |
---|
10 |
x=nodes(:,1); |
---|
11 |
y=nodes(:,2); |
---|
12 |
bndo=plotbnd(x,y,bnd); |
---|
13 |
set(bndo,'Color','k') |
---|
14 |
cval=[60 100 150]; |
---|
15 |
hc=lcontour2(in,x,y,z,cval); |
---|
16 |
set(hc,'Color','k') |
---|
17 |
hold on |
---|
18 |
% |
---|
19 |
% |
---|
20 |
% |
---|
21 |
axis([-69.5 -65.5 40.0 42.5]) |
---|
22 |
set(gca,'Box','on'); |
---|
23 |
set(gca,'XTick',[]); |
---|
24 |
set(gca,'YTick',[]); |
---|