Last change
on this file since 17 was
17,
checked in by zhangj, 10 years ago
|
To have a stable version on the server.
|
-
Property svn:executable set to
*
|
File size:
1.0 KB
|
Line | |
---|
1 | function comparaison_orbit |
---|
2 | % comparaison orbite |
---|
3 | |
---|
4 | |
---|
5 | % orbite en cours |
---|
6 | orbit=load_orbit_corr; |
---|
7 | Xm1=orbit.x; |
---|
8 | Zm1=orbit.z; |
---|
9 | corx1=orbit.corx; |
---|
10 | corz1=orbit.corz; |
---|
11 | |
---|
12 | % orbite sauvegarde |
---|
13 | file ='boo_all_2007-05-28_22-59-29.mat'; % |
---|
14 | file1='boo-all-2007-05-28-22-59-29.mat'; % |
---|
15 | Directory = [getfamilydata('Directory','DataRoot') 'Datatemp']; |
---|
16 | pwdold = pwd; |
---|
17 | cd(Directory); |
---|
18 | load(file, 'boo' ,'timing' ,'orbit'); |
---|
19 | Xm2=orbit.x; |
---|
20 | Zm2=orbit.z; |
---|
21 | corx2=orbit.corx; |
---|
22 | corz2=orbit.corz; |
---|
23 | cd(pwdold); |
---|
24 | |
---|
25 | % plot |
---|
26 | figure(2) |
---|
27 | subplot(2,1,1) |
---|
28 | plot(Xm1,'-ob');hold on |
---|
29 | plot(Xm2,'-ok');hold off |
---|
30 | legend('Current',file1) |
---|
31 | grid on; ylabel('X (mm)') |
---|
32 | subplot(2,1,2) |
---|
33 | plot(Zm1,'-ob');hold on |
---|
34 | plot(Zm2,'-ok');hold off |
---|
35 | legend('Current',file1) |
---|
36 | grid on; ylabel('Z (mm)') |
---|
37 | |
---|
38 | |
---|
39 | figure(3) |
---|
40 | subplot(2,1,1) |
---|
41 | plot(corx1,'-ob');hold on |
---|
42 | plot(corx2,'-ok');hold off |
---|
43 | legend('Current',file1) |
---|
44 | grid on; ylabel('CORX (A)') |
---|
45 | subplot(2,1,2) |
---|
46 | plot(corz1,'-ob');hold on |
---|
47 | plot(corz2,'-ok');hold off |
---|
48 | legend('Current',file1) |
---|
49 | grid on; ylabel('CORZ (A)') |
---|
50 | |
---|
Note: See
TracBrowser
for help on using the repository browser.