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