source: MML/trunk/machine/SOLEIL/StorageRing/bpm/test_transport.m @ 17

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