source: inundation/Hobart/Plot_Hobart_bathymetry.m @ 1855

Last change on this file since 1855 was 1397, checked in by steve, 19 years ago
File size: 914 bytes
Line 
1% Plot the interpolated Merimbula bathymetry data
2
3%To read saved files use open command
4
5load building_boundary_Hobart_58890_triangles.pts
6pts = building_boundary_Hobart_58890_triangles;
7x = pts(:,1);
8y = pts(:,2);
9
10load building_boundary_Hobart_58890_triangles.tri
11tri = building_boundary_Hobart_58890_triangles + 1;
12
13load building_boundary_Hobart_58890_triangles_pt01.bed
14z = building_boundary_Hobart_58890_triangles_pt01;
15
16x_max = ceil(max(x)/1000)*1000;
17x_min = floor(min(x)/1000)*1000;
18
19y_max = ceil(max(y)/1000)*1000;
20y_min = floor(min(y)/1000)*1000;
21
22z_max = ceil(max(z)/100)*100;
23z_min = floor(min(z)/100)*100;
24cmax = z_max
25cmin = z_min
26
27figure(1)
28
29axis([x_min x_max y_min y_max z_min z_max])
30trisurf(tri,x,y,z)
31shading interp
32colormap(jet)
33caxis([cmin cmax])
34view(0,90)
35colorbar
36title('\alpha = 0.01')
37axis off
38save building_boundary_Hobart_58890_triangles_pt01.fig
Note: See TracBrowser for help on using the repository browser.