-
Notifications
You must be signed in to change notification settings - Fork 2
/
LAB9.m
52 lines (46 loc) · 945 Bytes
/
LAB9.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[file, path] = uigetfile({'*'});
cd(path);
data = importdata(file);
period = data(:,1);
strike = data(:,2);
shear = data(:,3);
twist = data(:,4);
rhoa = data(:,5);
rhob = data(:,6);
phia = data(:,7);
phib = data(:,8);
subplot(2,2,1)
semilogx(period, shear, 'o');
ylim([-60, 60]);
xlabel('period');
ylabel('Twist/Shear');
hold on;
semilogx(period, twist, 'o');
grid on;
legend('shear', 'twist');
hold off;
subplot(2,2,2)
loglog(period, rhoa,'o');
hold on;
grid on;
loglog(period, rhob, 'o');
legend('rho XY', 'rho YX');
xlabel('period');
ylabel('Apparent Resistivity');
hold off;
subplot(2,2,3)
semilogx(period, strike, 'o');
xlabel('period');
ylabel('Strike Angle');
ylim([-180, 180]);
legend('Strike Angle');
grid on;
subplot(2,2,4)
semilogx(period, phia,'o');
hold on;
semilogx(period, phib, 'o');
legend('phi XY', 'phi YX');
xlabel('period');
ylabel('Phase');
grid on;
hold off;