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:
537 bytes
|
Line | |
---|
1 | % Mode transport |
---|
2 | |
---|
3 | % 19 mai 2006 |
---|
4 | % Written by Laurent S. Nadolski |
---|
5 | |
---|
6 | global THERING |
---|
7 | BPMindex = family2atindex('BPMx'); |
---|
8 | spos = getspos('BPMx'); |
---|
9 | X00 = [0 0 0 0 0 0]'; |
---|
10 | X01 = linepass(THERING, X00(:,end), 1:length(THERING)+1); |
---|
11 | |
---|
12 | h1 = subplot(5,1,[1 2]); |
---|
13 | plot(spos,X01(1,BPMindex)*1e3,'.-'); |
---|
14 | ylabel('X (mm)') |
---|
15 | |
---|
16 | h2 = subplot(5,1,[4 5]); |
---|
17 | plot(spos,X01(3,BPMindex)*1e3,'.-'); |
---|
18 | ylabel('Z (mm)') |
---|
19 | |
---|
20 | h3 = subplot(5,1,3); |
---|
21 | drawlattice |
---|
22 | % xaxis([1 getcircumference]); |
---|
23 | xaxis([42 82]); |
---|
24 | |
---|
25 | |
---|
26 | linkaxes([h1 h2 h3],'x') |
---|
27 | set([h1 h2 h3],'XGrid','On','YGrid','On'); |
---|
28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.