Home > atplot > plotfunctions > plotsqrtbetadispcurlyh.m

plotsqrtbetadispcurlyh

PURPOSE ^

SYNOPSIS ^

function plotdata=plotsqrtbetadispcurlyh(lindata,ring,dpp,varargin)

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function plotdata=plotsqrtbetadispcurlyh(lindata,ring,dpp,varargin)
0002 
0003 idx=cat(1,lindata.ElemIndex);
0004 H=CurlyHlindata(lindata);
0005 
0006 beta=cat(1,lindata.beta);                     % left axis
0007 plotdata(1).values=sqrt(beta);
0008 plotdata(1).labels={'\beta_x^{0.5}','\beta_z^{0.5}'};
0009 plotdata(1).axislabel='\beta^{0.5} [m^{0.5}]';
0010 dispersion=cat(2,lindata.Dispersion)'; % right axis
0011 
0012 plotdata(2).values=[dispersion(:,1)*100 H*10000];
0013 plotdata(2).labels={'\eta_x [cm]','H [10-4]'};
0014 plotdata(2).axislabel='dispersion [cm]';
0015 end

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