Home > SPlaC v1_0 > Mie > PWE > PwePlotLdepSurfAve.m

PwePlotLdepSurfAve

PURPOSE ^

Plots the results of PweEsurf or PweSurfProperties in terms of wavelength-dependent surface averages.

SYNOPSIS ^

function PwePlotLdepSurfAve(stEsurf,sLinLog)

DESCRIPTION ^

 Plots the results of PweEsurf or PweSurfProperties in terms of wavelength-dependent surface averages.

 Parameters:
 - stEsurf: obtained from PweEsurf or PweSurfProperties
 - sLinLog: string optional
            if sLinLog='linear', then use linear scale
            otherwise log scale is used as default

 This file is part of the SPlaC v1.0 package (copyright 2008)
 Check the README file for further information

EXAMPLE OF OUTPUT ^

Example figure output

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 if nargin<2, sLinLog='log'; end
0002 
0003 % plots Averages field EFs:
0004 figure('Name','Wavelength dependence of LFIEF averages');
0005 
0006 lambda=stEsurf.lambda;
0007 plot(lambda,stEsurf.MLocPerpAve,lambda,stEsurf.MLocParaAve, ...
0008      lambda,stEsurf.MLocAve,lambda,sqrt(stEsurf.F0E4Ave));
0009  
0010 xlabel('Wavelength [nm]');
0011 ylabel('Average field EFs');
0012 legend('<M_{Loc}^{perp}>','<M_{Loc}^{//}>','<M_{Loc}>','(F_{E4}^0)^{1/2}');
0013 title(['Wavelength dependence of LFIEF averages at r=' num2str(stEsurf.r0) 'nm']);
0014 
0015 if ~strcmpi(sLinLog,'linear')
0016     set(gca,'Yscale','log')
0017 end

This web page is part of the SPlaC package © 2008. Contact: Eric Le Ru
Generated on Wed 03-Dec-2008 11:10:14 by m2html © 2003 (adapted)