0001 function plotdata=plotAperture(lindata,ring,dpp,varargin)
0002
0003
0004
0005
0006
0007
0008
0009 apind=findcells(ring,'Limits');
0010
0011 xm=getcellstruct(ring,'Limits',apind,1);
0012 ym=getcellstruct(ring,'Limits',apind,3);
0013 xp=getcellstruct(ring,'Limits',apind,2);
0014 yp=getcellstruct(ring,'Limits',apind,4);
0015
0016 Xp=[nan(size(ring)); nan];
0017 Xm=Xp;
0018 Yp=Xp;
0019 Ym=Xp;
0020
0021 Xp(apind)=xp;
0022 Xm(apind)=xm;
0023 Yp(apind)=yp;
0024 Ym(apind)=ym;
0025
0026 plotdata(1).values=[Xp Xm Yp Ym]*1e2;
0027 plotdata(1).labels={'x aperture','x aperture','y aperture','y aperture'};
0028 plotdata(1).axislabel='x or y aperture [cm]';
0029
0030
0031
0032
0033
0034
0035 end