Home > atplot > plotfunctions > plPolynomBSxtOct.m

plPolynomBSxtOct

PURPOSE ^

DEFAULTPLOT Default plotting function for ATPLOT

SYNOPSIS ^

function plotdata=plPolynomBSxtOct(lindata,ring,dpp,varargin) %#ok

DESCRIPTION ^

DEFAULTPLOT    Default plotting function for ATPLOT

Plots polynomB for ring and ring1

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function plotdata=plPolynomBSxtOct(lindata,ring,dpp,varargin) %#ok<INUSD>
0002 %DEFAULTPLOT    Default plotting function for ATPLOT
0003 %
0004 %Plots polynomB for ring and ring1
0005 
0006 CoD=cat(2,lindata.ClosedOrbit);
0007 PolyBVal=zeros(size(CoD(1,:)));
0008 PolyBVal1=zeros(size(CoD(1,:)));
0009 
0010 PolynomBVal1=zeros(size(CoD(1,:)));
0011 PolynomBVal2=zeros(size(CoD(1,:)));
0012 PolynomBVal3=zeros(size(CoD(1,:)));
0013 PolynomBVal4=zeros(size(CoD(1,:)));
0014 ind=findcells(ring,'PolynomB');
0015 
0016 PolynomBVal1(ind)=getcellstruct(ring,'PolynomB',ind,1,1);
0017 PolynomBVal2(ind)=getcellstruct(ring,'PolynomB',ind,1,2);
0018 PolynomBVal3(ind)=getcellstruct(ring,'PolynomB',ind,1,3);
0019 PolynomBVal4(ind)=getcellstruct(ring,'PolynomB',ind,1,4);
0020 
0021 
0022 plotdata(1).values=  PolynomBVal3';
0023 plotdata(2).values=  PolynomBVal4';
0024 
0025 plotdata(1).labels={'b_{3}'};
0026 plotdata(1).axislabel='b_{3} [1/m^{2}]';
0027 plotdata(2).labels={'b_{4}'};
0028 plotdata(2).axislabel='b_{4} [1/m^{3}]';
0029 % dispersion=cat(2,lindata.Dispersion)';
0030 % plotdata(2).values=dispersion(:,3);
0031 % plotdata(2).labels={'\eta_y'};
0032 % plotdata(2).axislabel='vertical dispersion [m]';
0033 
0034 end

Generated on Thu 24-Aug-2017 18:47:33 by m2html © 2005