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

PwePlotQandM

PURPOSE ^

Plots the results of PweSolveSingleSphere or MulPweSolveMultiSphere as lambda-dependence of Q_ext, Q_sca, Q_abs, and MLocAve.

SYNOPSIS ^

function PwePlotQandM(stM)

DESCRIPTION ^

 Plots the results of PweSolveSingleSphere or MulPweSolveMultiSphere as lambda-dependence of Q_ext, Q_sca, Q_abs, and MLocAve.

 Parameters:
 - stM: structure obtained from PweSolveSingleSphere or MulPweSolveMultiSphere 

 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 lambda=stM.lambda;
0002 
0003 figure('Name','Q-coefficients and average LFIEF on surface');
0004 plot(lambda,stM.Qext,'b',lambda,stM.Qsca,'k',lambda,stM.Qabs,'k:');
0005 ax1 = gca;
0006 set(ax1,'XColor','k','YColor','b')
0007 set(get(ax1,'XLabel'),'String','Wavelength [nm]');
0008 set(get(ax1,'YLabel'),'String','Q_{ext},Q_{sca},Q_{abs}');
0009 legend({'Q_{ext}','Q_{sca}','Q_{abs}'});
0010 title(['Mie for PWE: nNmax=' int2str(stM.nNmax) ', a=' num2str(stM.a) 'nm']);
0011 ax2=axes('Position',get(ax1,'Position'),...
0012        'XAxisLocation','top','XColor','k', ...
0013        'YAxisLocation','right','Ycolor','r', ...
0014        'Color','none', ...
0015        'YScale','Log', ...
0016        'XTickLabel',{});
0017 set(get(ax2,'Ylabel'),'String','Average LFIEF on surface');
0018 
0019 line(lambda,stM.MLocAve,'Color','r');

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)